查询 Facebook Graph“我喜欢 x 吗?”的方法

发布于 2024-09-25 14:43:56 字数 173 浏览 0 评论 0原文

我正在将我的应用程序设置为基本上执行 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鸠魁 2024-10-02 14:43:56

like 表,您可以在其中通过 FQL 检查如果有人喜欢某事。

There is like table where you can check through FQL if someone likes something.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文