简体   繁体   English

如何确定用户是否已经喜欢使用Facebook之类的按钮的页面(网站页面不是FB)?

[英]How to determine if user already liked page(page of site not FB) with facebook like button?

How to determine if user already liked page(page of site not FB) with facebook like button? 如何确定用户是否已经喜欢使用Facebook之类的按钮的页面(网站页面不是FB)?

I need this to show different content for them in header of the site. 我需要它在网站标题中为他们显示不同的内容。

Thanks for help. 感谢帮助。

如果它在iframe ,则由于相同的原始政策 ,您无法以编程方式对其进行访问。

Found this posibility in facebook graph API. 在facebook graph API中找到了这种可能性。

https://graph.facebook.com/me/likes https://graph.facebook.com/me/likes

http://developers.facebook.com/docs/reference/api/ http://developers.facebook.com/docs/reference/api/

Pity but this need to be authorized. 可惜但是这需要得到授权。 Will try to find something else. 会尝试寻找其他东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM