检查用户是否已连接到Facebook,然后检查他是否喜欢页面 [英] Check if the user is connected to facebook and then check if he liked a page

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

问题描述

有没有办法检查用户是否连接到我的外部页面上的Facebook,而不让他们允许我的一个应用程序?
同样的问题是检查用户是否喜欢页面。

Is there is any way of checking if the user is connected to facebook on my external page without having them to allow one of my applications? And the same question goes for "check if the user liked a page".

我已经检查了大约20个问题和3-4个教程,并且似乎全部他们正在谈论内部脚本(扇形页面/应用程序画布页面中的标签),我的问题仅针对EXTERNAL页面。

I have checked around 20 questions and 3-4 tutorials and seems like all of them are talking about internal scripts (tabs inside a fanpage/apps canvas pages) and my question is directed only to EXTERNAL pages.

如果可能,请在这里喊一个代码示例(PHP + JavaScript)。谢谢!

If it is possible, please shout here a code example (PHP+JavaScript). Thanks!

推荐答案

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

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

如果您使用的是XFBML版本的按钮,则可以通过 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.

检查用户是否登录到Facebook:

Check whether users is logged into facebook:

检查用户是否登录新的Facebook API

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

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