New Timeline Like Button Behavior

后端 未结 2 1713
星月不相逢
星月不相逢 2021-01-25 11:54

On the new style Page Tabs, the Like button no longer re-freshes the page. This breaks the existing workflow for \"Like-gates\", where the signed request is checked on the serve

相关标签:
2条回答
  • 2021-01-25 12:33

    This problem is now fixed by Facebook. See here:

    http://developers.facebook.com/bugs/228778937218386

    So everyone can relax.

    0 讨论(0)
  • 2021-01-25 12:45

    it's a bug that the page is not refreshing after being liked. Here's the bug reported:

    https://developers.facebook.com/bugs/228778937218386?browse=search_4f500194bc1bd0293819428

    However, I managed to do a workaround to detect if the page is still not using timeline by looking for an album called "Cover Photos" on the album list of that page. Here's a sample:

    http://graph.facebook.com/-page_id-/albums?fields=name

    You don't need a token unless the page isn't published yet.

    The problem with this approach is that some pages still don't have cover picture yet, but it's the minority.

    0 讨论(0)
提交回复
热议问题