我可以获得点击“赞”的用户 ID吗?在我的其中一页上?我可以把“喜欢”放在在 Facebook 上发布到我的网站的按钮?
我可以获得在我的某个页面上点击“赞”的用户 ID 吗?我试图通过 FQL,但到目前为止还没有成功。
我可以在 Facebook 上的帖子上添加“赞”按钮到我的网站吗?例如,我的 Facebook 页面上有一些帖子,我想让用户在我的网站上点击该帖子的“赞”。
谢谢
Can I get a user ID that clicked "Like" on one of my pages? I tried to make it through the FQL but so far unsuccessful.
And can I put "Like" button for post on facebook to my site? For example I have some post on my facebook page and I want to let the user click "Like" for this post while he or she on my site.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要提示用户提供 user_likes 扩展权限才能使 FQL 查询发挥作用。
要让它们像 Facebook 墙贴一样,您需要提示publish_stream 扩展权限,然后对 /postid/likes 执行 HTTP POST
You would need to prompt the user for user_likes extended permission for that FQL query to work.
To have them like a Facebook wall post, you would need to prompt for publish_stream extended permission and then do an HTTP POST to /postid/likes