eriksv88
eriksv88

Reputation: 3526

Get last posted photos from facebook graph

I see that FQL is deprecated?

We now use the Graph API and with url .

What I want is to get all the latest pictures of my friends and NOT from pages or other stuff.

If I use:

me/home/?filter=app_2305272732

will I also get back pictures from pages and more.

How can I ONLY get pictures of friends.

Upvotes: 0

Views: 156

Answers (1)

andyrandy
andyrandy

Reputation: 74014

Since you would need to use the read_stream permission to get friend postings in the stream of the authorized user, and since friend permissions are gone, there is no way to achieve this. You will not get read_stream approved: https://developers.facebook.com/docs/facebook-login/permissions/v2.2#reference-read_stream

Information about the friend permissions are in the changelog: https://developers.facebook.com/docs/apps/changelog

You can only get the latest photos and posts of the authorized user by authorizing him with the user_status permissions and using /me/statuses.

Upvotes: 3

Related Questions