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?
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?
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.
Currently in version 2.10 I can say that you can not even do the ordering of data in the API Graph facebook, a solution to this could be to sort the data from the frontend of the app with an external library.