Facebook - 检测用户是否喜欢您的页面? [英] Facebook - Detect if user has liked your page?

查看:105
本文介绍了Facebook - 检测用户是否喜欢您的页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



所以说我的网址是:

  http://www.site.com/page.html 

我的Facebook页面是:

  http://www.facebook.com/myfacebookpage 

有没有办法检测访问我的网页的用户是否喜欢我的Facebook页面?并且显示文本,如果他们有或不喜欢它

解决方案

这样做的唯一方法是如果用户已经认证与您的应用程序并已授予user_likes扩展权限。然后你可以打电话/我/喜欢


Is there any way to detect if a user has liked X page outside of facebook?

So say my URL is:

http://www.site.com/page.html

My facebook page is:

http://www.facebook.com/myfacebookpage

Is there any way to detect if the user visiting my web page has liked my facebook page? and show text if they have or haven't liked it?

解决方案

The only way to do this is if the user has authenticated with your application and has granted user_likes extended permission. Then you could call /me/likes.

这篇关于Facebook - 检测用户是否喜欢您的页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆