I am getting facebook news feed using
News feed: https://graph.facebook.com/me/home?access_token=MyAccessToken
I am getting all news feed object.But in news feeds object with type "photo",
I am getting only last added picture url (If user is added some photos to that album).
But how to get news feeds like "Jack added 3 new photos to the album MyApp Photos."
I want to get 3 photos in that album , if user added any photos to an album. I googled a lot.
Please help me. Thanks in advance.
Best Answer
Alright - this is a little bit hacky but I can't see any otherway. In your news feed you will see an item along the lines of:
The key in there is the link url, which contains:
set=a.10151233554845639.123456.123456789
The first number, after the a, appears to be the album id. We can therefore get the photos from the album by querying:
If you share a photo that already exists on Facebook then it appears with an extra property called properties:
If you share a photo on your wall this is actually an upload and so will not include the
properties
property