使用 FQL 查询每个喜欢的对象
我试图通过运行此查询来查询用户自从加入 facebook 以来喜欢的每个对象:
SELECT user_id, object_id, post_id FROM like WHERE user_id=me()
此查询运行良好并返回一些结果,但它们的数量比我估计的要少得多。我在不同的真实用户帐户上进行了尝试,对于我的一位在 2006 年左右加入 Facebook 的朋友来说,返回结果的数量仍然只有 65 左右。
我通过官方 javascript sdk 和 graph api explorer 尝试了这个查询,它给出了相同的结果。
文档没有说明对查询 like 表施加的任何限制。
对此表进行查询时,有什么我应该注意的吗?
非常感谢!
I'm trying to query every object which the user has liked since joining facebook by running this query:
SELECT user_id, object_id, post_id FROM like WHERE user_id=me()
This query runs fine and returns some results, but the number of them is a lot less than I estimated. I tried it on different, real user accounts, and for a friend of mine who has joined facebook around 2006 the number of returned results is still only around 65.
I tried this query through the official javascript sdk and through the graph api explorer which gave identical results.
The documentation doesn't state any limit imposed upon querying the like table.
Is there anything, I should be aware when doing a query on this table?
Thank you very much!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据本文档:
尽管在文档中没有明确提到喜欢,但我想这将是相同的限制。因此,尝试在 where 子句中添加created_time。
According to this documentation :
Although not explicitly mentioned in the doucmentation for likes, I guess this will be the same limit. So try to add created_time in a where clause.