Chango
Chango

Reputation: 6782

Facebook Graph API stopped sending full results

I'm making a simple query to facebook Graph like this:

https://graph.facebook.com/{UserId}/feed?limit=1000&since=0&access_token={AccessToken}

Where {UserId} and {AccessToken} are, of course, valid values. The AccessToken is retrieved from a facebook login with the following scope:

user_status,friends_status,user_activities,friends_activities

When the response has paging I call it's next value until there is no more paging.

So, when I began testing I received a at least three pages of data with the all user's posts, but out of the blue I'm receiving a single page (sometimes two) with all stories like:

A and B are now friends

or

A updated his cover photo.

I have also tried with

https://graph.facebook.com/{UserId}/posts?limit=1000&since=0&access_token={AccessToken}

with the same result.

Also, if I change {UserId} by me it works as expected.

At first I thought that I may have reached a poll limit, but I don't get any error, just a subset of the results.

Upvotes: 0

Views: 201

Answers (1)

dotnetcoder
dotnetcoder

Reputation: 3601

From fb dev page "Querying without the read_stream permission will return only the public view of the data".

http://developers.facebook.com/docs/reference/api/post/

Upvotes: 0

Related Questions