Facebook Open Graph Feed Not Returning All My Wall Posts From Me - facebook

When I use the open graph API to get my own facebook news feed (my wall), everything looks right for the most recent 3 months, but prior to that, I no longer see my own posts (but still see posts of other users on my wall).
I'm using a version of this link (with a working access token):
https://graph.facebook.com/me/feed??access_token=putvalidaccesstokenhere&limit=100
as documented on this page:
http://developers.facebook.com/docs/api
And I notice that posts from me (i.e. status updates, shared links etc.) no longer show up from early June and prior. Any ideas why?

Facebook lets you see only latest 5000 records. Everything older than that is unaccessible through the api. Is it possible that you reached this limit in 3 months?

Related

Get page's messages from a certain date range - Facebook Opengraph API

I'm trying to get the messages in a convertation, sent to a Facebook page, from a certain date, via the OpenGraph API.
for that, Im using the parameters "since" and "until".
{conversation_id}/messages?fields=message,from,created_time,shares,tags,attachments&since=4/12/2017 04:00:09 PM&until=4/12/2017 04:18:36 PM
Example from Facebook Graph Explorer
this should return only the messages between these dates in the conversation,
and used to work both in my code and in the Facebook Graph Explorer.
but recently i noticed that i get all the messages since the beginning of the conversation.
my code uses graph version 2.6, but i tested it on Graph Explorer in other versions as well, all the results are the same.
was there any change in the API that prevents this ability?
For anyone who come across this question who might want to know:
this issue was raised to Facebook as a bug, and their team accept it as a valid bug:
https://developers.facebook.com/bugs/420363721670492/
hopefully it will be solved soon

No new data after a RealTime update, and missing recent posts in OpenGraph /feed

I'm having a hard time getting access to most recent posts and comments for a given user using the OpenGraph API.
I have the read_stream permission, and get realtime notifications for feed field on the user object. The notification comes in, but fetching the /<user id>/feed stream doesn't include the new action.
When playing around with the Graph API Explorer, the data I see via OpenGraph and data I see by going directly to the page is different. Viewing my friend's profile, I see his latest update, yet it doesn't come back via /friend_id/feed. A comment I left a week ago shows in my /feed, but one from a few hours ago (which sent a realtime notification!) isn't showing up.
It's almost like some posts are filtered for the API. Is this how it's supposed to work?
My actual goal is to get all the comments made by my application's user.

how to get past newsfeed using facebook API?

the API to fetch newsfeed is: https://graph.facebook.com/me/home?access_token=&limit=1000&untill=
which returns paginated feed output with 'next' url to fetch previous feeds.
However it stops returning newsfeed beyond a certain time. So newsfeed of few days is only available for parsing.
Is there a way out to get more historical newsfeed using facebook apis???
If you look at the graph API documentation page, /me/home is limited to only 1-2 weeks of history, and it has fallen into the "we don't care about this" category:
/me/home retrieves an outdated view of the News Feed. This is currently a known issue and we don't have any near term plans to bring them back up into parity.
Use /me/feed instead.
You can use the since and until parameters to get historical data from a user's feed. This will get you the posts that appeared between August 15-20, 2012.
/me/feed?since=2012-08-15&until=2012-08-20
The data returned by /me/feed/ is also limited. The limits aren't explicitly stated, but I never expect to be able to access more than 30 days worth of posts from one API call.

How to get news feed using Facebook graph api?

I want to get my news feed (just as what is shown on facebook home page) using Facebook graph api
https://graph.facebook.com/me/home
However, the facebook api document says that
this is an outdated view, does not reflect the News Feed on facebook.com:
Are there any other ways ?
Thanks in advance
Yes there is
https://graph.facebook.com/[YOUR_ID]/home
Note though that you will get almost everything you see on your news feed by most recent order and not by Top Stories order which is the default view you get when visiting your own news feed.
Also another thing to note is that you wont get promoted stories in the results.
For all wondering if this still works:
graph.facebook.com/[YOUR_ID]/home
You need the permission read_stream for this. But you wont get this permission, because its deprecated.
Unfortunately the endpoint https://graph.facebook.com/[YOUR_ID]/home and the permission are deprecated and dont work anymore since version 2.4, according to the changelog (search for read_stream).
Currently there is no alternative for reading the news feed. Only the user's posts can be obtained.
See this for reference: Get Home feed requires read_stream which is deprecated?

How far back in time can you go with the Facebook API?

With the Facebook API are only recent things (wall posts, friends status updates etc) obtainable or is everything ever associated with the user's account obtainable?
That's a tricky question.
First nowhere in the official documentation says how many items you can get from Graph API nor FQL.
Not only this. Also when trying to do normal recently querys you may find out that not every result is returnes. Nor from the Graph API, FQL, not even from the FQL Test Console.
All this is because serious bugs in the Facebook Platform.
On october 15 Facebook said in its blog
We have received a great deal of feedback recently about things we should do to improve Facebook Platform. The themes are clear: “fix the bugs,” “update the documentation,” “talk to us more,” and “make things more reliable.” We are listening, and this post outlines some of the things we are doing to address your concerns.
This means that they are now fixing the bugs that has been accumulated on many months in Facebook Bug Tracker.
One of the open Bugs in there says:
When using a FQL Query or utilizing the new Graph API to grab posts on a users
stream, not all posts are returned.
From what I can see, the system will grab the latest posts from within the last
month, and then becomes extremely spotty after that. I am able to grab posts
from myself up to 4/24/2010, at which point every single wall post I have
posted seems to disappear.
Many other developers have states the same thing under the comments of this Bug.
On 2010-09-27 Jeff Bowen (Developer from facebook) said the following
Hi all, we still need to add this to the documentation but the stream table is
limited the last 30 days or 50 posts, whichever is greater. Sorry this wasn't
previously published.
This have made many people upset since they assumed you could get everything from the Graph API.
Anyway this is for multiple results. If you want a single result apperently (from the commnets in thts bug) You could go as far as June 15 2009
Personally, I haven't tested yet again so I don't know if this actully works the way they say. Facebook Graph API is in constant change. It has been incomplete and buggy since the begining. But now Facebook says they are working on that.
I recommend every facebook developer to sign up for the Facebook Platform bug tracking system since there is a lot of not official things about facebook, that will impact your applications.
I'll keep an eye on there to see if more is said on this topic and update this answer if needed