FQL查询响应随机省略一些结果 [英] FQL query response randomly omits some results

查看:99
本文介绍了FQL查询响应随机省略一些结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试简单的只有状态更新,没有别的应用程序(因为FB对这种事情似乎并不太感兴趣)。但是,我的查询似乎省略了一些结果:



select status_id,uid,time,message from status where uid in(select uid2 from friend where uid1 = $ my_id) ORDER BY TIME DESC LIMIT 25,例如,当我上次测试时,只返回21个结果(是的,我有足够的朋友已经做出足够的更新,绝对有超过25个历史状态)。



这是与PHP API,通过Heroku,但我已经有类似的问题一段时间,回到之前FBML被弃用,基本相同的查询。 / p>

我没有足够的测试来确定这是真的,但似乎只是每个用户返回一个状态(如果Bob发布了六个更新,它只返回他的最新状态,忽略以前的状态)。



这是一个已知的问题/错误?任何解决方法?

解决方案

Facebook交易性能的准确性一直是这样,所以通常返回有限数量的结果查询


I'm trying to make a simple "only status updates, nothing else" app (since FB doesn't seem too interested in this sort of thing). However, my queries seem to omit some results:

"select status_id,uid,time,message from status where uid in (select uid2 from friend where uid1= $my_id) ORDER BY time DESC LIMIT 25", for instance, when I last tested it, only returned 21 results (and yes, I've got enough friends who have made enough updates that there are definitely more than 25 historical statuses).

This is with the PHP API, by way of Heroku, but I've had similar issues for a while, going back to before FBML was deprecated, with basically the same query.

I haven't tested enough to determine absolutely that this is the case, but it seems only to return one status per user (if Bob posted six updates, it only returns his newest status and ignores the previous ones).

Is this a known issue/bug? Any workarounds?

解决方案

facebook trades accuracy for performance it has been always the case , so it usually returns a limited number of results per query

这篇关于FQL查询响应随机省略一些结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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