FQL 访问好友的“喜欢”
如何使用 FQL 访问朋友的点赞?我可以在 Graph API 中看到它:
https://graph.facebook.com/1111111/likes
...但我似乎不知道如何在 FQL 中做到这一点。
How do I access friends likes with FQL? I can see it in the Graph API:
https://graph.facebook.com/1111111/likes
... but I can't seem to figure out how to do it in FQL.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以在您的 api explorer 中尝试此操作以获得用户朋友的喜欢。
You can try this in your api explorer to get user friends likes.
您可以通过查询
url_like
表来完成此操作:但是,您无法获取朋友喜欢的列表:照片、相册、活动、群组、注释、链接、视频、应用程序、状态、签到、评论、评论、帖子。
此信息位于
like
表中,但根据user_id
查询它,您需要该用户的read_stream
权限...编辑:添加了 Graph API Explorer 示例以轻松预览:
http://developers.facebook.com/tools/explorer?method=GET&path=fql%3Fq%3DSELECT%20url%2 0FROM%20url_like%20WHERE%20user_id%20IN%20(SELECT%20uid2%20FROM%20friend%20WHERE%20uid1%20%3D%20me())
You can do this by querying
url_like
table:You cannot however get list of likes by friends for: photo, album, event, group, note, link, video, application, status, check-in, review, comment, post.
This info is located in
like
table but to query it based onuser_id
you needread_stream
permissions from that user...EDIT: Added Graph API Explorer Example to easily preview this:
http://developers.facebook.com/tools/explorer?method=GET&path=fql%3Fq%3DSELECT%20url%20FROM%20url_like%20WHERE%20user_id%20IN%20(SELECT%20uid2%20FROM%20friend%20WHERE%20uid1%20%3D%20me())