I'm trying to parse fb feed to find new comments. First I get posts list by this url http://graph.facebook.com/2.0/page_id/posts
. Then I get comments by http://graph.facebook.com/2.0/page_id/post_id/comments
for each post. I found that I can use batch_requests
and http://graph.facebook.com/2.0/page_id/posts?fields=comments
. But I want to ask:
P.S. FQL is not good solution because it is deprecated.
You can specify an order of reverse_chronological
to get the newest comments first. It's not documented but seems to work from v2.0
on.
i.e. Get all post comments w/ newest first
[post_id]/comments?filter=stream&order=reverse_chronological
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With