Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 770
Janub Avatar asked Sep 10 '14 20:09

Janub


1 Answers

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.

like image 115
Tobi Avatar answered Oct 06 '22 16:10

Tobi