检测类似Facebook的消息 [英] Detect facebook-like / message

查看:107
本文介绍了检测类似Facebook的消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到以下问题。

想要制作一个迷你主页,我想在访问我们的通讯后,请访问者访问我的页面

Want to make a mini-homepage, i would like to ask visitors to facebook-like my page, after they signed up to my newsletter.

一旦他们喜欢我的

问题

有没有办法,我可以检测到我的页面上的某个访问者是否喜欢我的页面,并将其连接到他/她的会话/电子邮件地址(可能与fb电子邮件地址不同)?

Is there a way i can detect if a certain visitor on my page has liked my page and connect this to his/her session / email address (might be different then fb email address)?

推荐答案

这是在Facebook文档中:

It's in the Facebook documentation:


知道用户何时点击Like按钮?

How do I know when a user clicks a Like button?

如果您使用的是XFBML版本的按钮,您可以订阅
'edge.create'事件通过FB.Event.subscribe。

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

https://developers.facebook.com/docs/reference/plugins/like/

这篇关于检测类似Facebook的消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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