signedRequest doesn't return if user has liked the page

后端 未结 1 1918
故里飘歌
故里飘歌 2021-01-24 02:32

Hello I am developing an fb app using facebook sdk (php version) but for some reason the signedRequest doesn\'t return me the liked variable in order to determine if the user ha

1条回答
  •  爱一瞬间的悲伤
    2021-01-24 03:12

    https://developers.facebook.com/docs/apps/changelog

    The 'liked' property will no longer be returned in the 'signed_request' object for Page Tab apps created after today. From November 5, 2014 onwards, the 'liked' property will always return 'true' regardless of whether or not the person has liked the page.

    Also, see the changes in the policy:

    You must not incentivize people to use social plugins or to like a Page. This includes offering rewards, or gating apps or app content based on whether or not a person has liked a Page

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