查询 Facebook Graph“我喜欢 x 吗?”的方法
我正在将我的应用程序设置为基本上执行 FBML“喜欢”按钮的操作:对于用户“我/主页”流中的对象,喜欢、不喜欢并显示喜欢计数。 我执行上述任何功能都没有问题,但我很难让 api 告诉我用户是否已经喜欢这个东西(所以我可以将按钮设置为“不喜欢”)。图 api 告诉我不允许搜索用户的喜好。有 FQL 解决方案吗?
谢谢
I'm setting up my app to basically do what the FBML 'like' button does: like, unlike and show like count, for objects from the user's "me/home" stream.
I have no problem doing any of the above functions, but I'm having a very tough time getting the api to tell me if the user likes the thing already (so I can set the button to 'unlike'). The graph api is telling me I'm not allowed to search user's likes. Is there an FQL solution?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有
like
表,您可以在其中通过 FQL 检查如果有人喜欢某事。There is
like
table where you can check through FQL if someone likes something.