Facebook Like Box:如何检测用户是否已经喜欢该页面? [英] Facebook Like Box: How to detect if user already liked the page?

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

问题描述

我已经在我的博客中安装了Like Box,我想知道用户是否已经喜欢我的页面.我想对我的读者实施这样的操作,因为如果他们已经喜欢我的页面,我想向他们提供隐藏的内容.

I have installed the Like Box in my blog, and I want to know if the user already like my page. I want to implement something like this to my reader because I want to offer them hidden contents if they already liked my page.

是否有一个事件可以检测用户是否已经喜欢赞"框中的页面?

Is there an event where I will detect if the user already liked the page in the Like Box?

推荐答案

如果您使用的是XFBML版本的Like Box,则可以通过

If you are using the XFBML version of the Like Box, you can subscribe to the 'edge.create' event through FB.Event.subscribe.

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

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