Facebook API:如何让php知道用户是否是该应用程序的粉丝?
Facebook API:如何让php知道用户是否是该应用程序的粉丝?
计划一:失败 仅在html级别显示..它不会让php级别知道用户是否是粉丝
方案2:失败 也遇到了同样的问题
计划3:失败 fql权限表只是缺少is_fan字段 http://wiki.developers.facebook.com/index.php/ Permissions_%28FQL%29
方案 4:服务器延迟 调用restful API http://wiki.developers.facebook.com/index.php /Pages.isFan 会给服务器带来很大的延迟......我想知道它是否也可以在应用程序页面上工作。
有什么建议来解决这个问题吗?
Facebook API: How to let the php knows whether the user is a fan of the application or not?
Plan 1: failed
is displayed at the html level only.. .it won't let the php level knows whether the user is a fan or not
Plan 2: failed
has got the same problem too
Plan 3: failed
fql permission table simply lacked the field of is_fan
http://wiki.developers.facebook.com/index.php/Permissions_%28FQL%29
Plan 4: server lag
calling restful API http://wiki.developers.facebook.com/index.php/Pages.isFan will bring a lot of lag to server... and I wonder if it can works on application page too.
any suggestion to solve this problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
哦,我找到了解决方案
$ispagefan = $facebook->api_client->pages_isFan($app_id,$fb_user);
X(在发布这里之前花了几个小时仍然无法得到解决方案。然后在发布此后立即找到了解决方案
Oh I have found the solution
$ispagefan = $facebook->api_client->pages_isFan($app_id,$fb_user);
X( spending hours before posting here and still can't get the solution. Then found a solution right after posting this