Mark Beattie
Mark Beattie

Reputation: 185

Facebook graphapi page/feed returning items sorted by relevance instead of recent activity

Hi I am using the Facebook graph api tool and attempting to get the feed of a public page. I want to get most recent comments first. However the feed returns comments and replies sorted by "relevance", is there a "sort" I can apply or how do I change this to get recent comments and replies within my posts? I do not own the page I am getting the feed from.

Upvotes: 0

Views: 993

Answers (1)

Tobi
Tobi

Reputation: 31479

There's the order parameter for comments, which can have the following values:

  • chronological
  • reverse_chronological

See

As far as I know, the feed's posts will always be sorted by created_time, and there's no way to influence this via the Graph API requests.

Upvotes: 1

Related Questions