Facebook FQL“喜欢"表最多返回100行? [英] Facebook FQL `like` table retuns max 100 rows?

查看:47
本文介绍了Facebook FQL“喜欢"表最多返回100行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,所以标题主要说明了一切.我想获得我喜欢的人的数量,为此我要进行以下查询:

OK, so the title mainly says it all. I want to get the number of likes that I gave to people, for which I am doing a query like:

SELECT object_id FROM like WHERE user_id = me()

但是,对于大帐户,即使我在查询末尾添加LIMIT 1000,也始终返回100.如果我将限制设置为低于100(例如50),那么它将仅显示50个结果,因此LIMIT可以起作用...

However, for large accounts, this always returns 100, even if I add LIMIT 1000 at the end of the query. If I make the limit lower than 100 (eg. 50), it will only show 50 results, so LIMIT works...

有人知道Facebook对该表中返回结果的数量施加限制吗?我主要是在等待一些Facebook工程师为我提供帮助,但是如果有人遇到此问题,请随时为我提供帮助.

Is anyone aware of a limitation that Facebook imposes on the number of returned results in this table? I am mainly waiting for some Facebook engineers to help me with this, but if someone has encountered this issue, feel free to help me out.

如果我进行以下查询,它将返回1000行,但是该查询无用,因为我想获得给出的所有赞,而不是接收到一个对象.

if I make the following query, it returns 1000 rows, but this query is useless, since I want to get all likes that I gave, not that a object received.

SELECT user_id FROM like WHERE object_id="10150146071791729" LIMIT 1000 // taken from a FQL example page

推荐答案

适用于可能偶然发现此问题的任何人. Facebook显然只允许您点赞100次,依此类推.这是一个错误或未记录.我已经向他们提交了错误报告.

For anyone who may stumble upon this. Facebook apparently lets you only get 100 likes and so on. It's either a bug or not documented. I've filed a bug report with them.

这篇关于Facebook FQL“喜欢"表最多返回100行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆