facebookfacebook-graph-apifacebook-fql

Graph Search API order by like fql


Is there a way to sort the result with the Graph api by key? and choose desc or asc? just like in fql?

in the FQL I perform my query for event with ORDER BY start_time ASC at the end

anything similar in the graph api?


Solution

  • 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.