获取当前用户的 Facebook 好友在过去一小时内分享的所有 YouTube 链接
我正在尝试获取当前用户的 Facebook 好友在过去一小时内分享的所有 YouTube 链接。
我找到了一个 FQL 脚本,可以获取当前用户的朋友共享的最新 100 个链接,但我尝试仅查询过去一小时的 YouTube 链接,而不是限制 100 个。
这是我找到的脚本。我怎样才能改变它?
从所有者所在的链接中选择 link_id、标题、url、所有者、所有者评论、创建时间、图片(从朋友中选择 uid2,其中 uid1 = me() LIMIT 100) ORDER BY 创建时间 DESC
I am trying to get all youtube links shared by current user's facebook friends from the past hour.
I have found an FQL script that would get the latest 100 links shared by the current user's friends but I am trying to query only for youtube links and for the past hour instead of a limit of 100.
This is the script that I have found. How can I change it?
select link_id, title, url, owner, owner_comment, created_time, picture from link where owner in (select uid2 from friend where uid1 = me() LIMIT 100) ORDER BY created_time DESC
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能已经发现 Facebook API 的限制。您的回复中是否有任何分页信息可以让您翻阅结果?
You may have found a limitation of the Facebook API. Was there any pagination information in your response that would allow you to page thru the results?