开发者

Facebook Fan page like check

开发者 https://www.devze.com 2023-04-13 06:48 出处:网络
I would like to see of visitor of my website is开发者_JAVA技巧 already fan of my fanpage. So if somebody visits my website,i would like to ask him to visit my fanpage only, if he is not fan already.I

I would like to see of visitor of my website is开发者_JAVA技巧 already fan of my fanpage.

So if somebody visits my website,i would like to ask him to visit my fanpage only, if he is not fan already.I dont want to ask for permission. Just check, if he likes the fanpage or not. Is there possibility to do this? I am not experienced in this Facebook API, this is why i ask for an idea for doing this


It can be done using FQL by querying page_fan table, you have to get user_likes permission before doing this...


It is now against Facebook's policies to gate an app or content within an app based on if someone has liked your page.

Use of the user_likes permission will not be approved for use by Facebook via Login Review if you're using it for the purpose of like gating.

In addition, FQL is now deprecated and should no longer be used for new apps.

See the announcement here: https://developers.facebook.com/blog/post/2014/08/07/Graph-API-v2.1/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号