I am trying to read a user’s stream using the facebook graph api. the call is:
https://graph.facebook.com/me/home?access_token=xxxxx&since=yyyyy
I am getting a response but there are a few problems:
-
The result I get as a response is not identical to the stream I see as a facebbok user (many posts are missing – on facebook page, in the news feed, i can see much more posts than i get back in the response)
-
It seems that even if I use the “since” parameter, many of the posts returned are out of the time scope. Any ideas why? I would like to do paging according to specific time periods but it seems facebook api is not working as expected (it will return results earlier than the “since” parameter and it will not return all the posts i can see in my news feed).
thanks
It’s easy to get these two connections from the user graph API object confused.
me/homeis for the user’s news feedme/feedis for the user’s wallI would suggest using FQL via the Graph API and poll the stream table directly:
fql?q=SELECT post_id, comments, message FROM stream where source_id=me()I’m pretty sure there’s a bug logged at developers.facebook.com/bugs for the since parameter not working as expected.