图搜索API的排序方式如fql [英] Graph Search API order by like fql
本文介绍了图搜索API的排序方式如fql的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有一种方法可以用Graph api的键对结果进行排序?并选择desc或asc? 就像在fql中一样?
Is there a way to sort the result with the Graph api by key? and choose desc or asc? just like in fql?
在FQL中,我使用ORDER BY start_time ASC最后执行事件查询
in the FQL I perform my query for event with ORDER BY start_time ASC at the end
图形api中有任何类似的东西吗?
anything similar in the graph api?
推荐答案
There's currently no way to sort the results of Graph API calls, see https://developers.facebook.com/docs/graph-api/using-graph-api/v2.1#reading
在大多数情况下,结果都是按照创建时间的顺序返回的.
In the most cases, the results are returned in the order of the creation time though.
这篇关于图搜索API的排序方式如fql的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文