I'm trying to download all of the photos that I've been tagged in from facebook.
https://graph.facebook.com/me/photos?access_token=blah
Returns a data[]
with 15 pictures and a paging object:
'paging':
{
'cursors':
{
'after': 'afterHash',
'before': 'beforeHash'
}
}
I expected to see next
and previous
urls in paging
to get at more photos.
Calling: https://graph.facebook.com/me/photos?access_token=blah&type=tagged&after=afterHash
returns an empty data[]
Adding &limit=14
to the request returns 14 pictures and the next
url that I would expect. Getting that next
url only returns 1 picture though, for a total of 15 again.
Further details on the pictures being returned by the api call:
Created Times range from 2013-08-25 to 2015-10-10 5 photos uploaded by friends and tagged, 10 uploaded by myself.
When I look at "/Photos/Photos of You" from my profile page I see many more pictures than are being returned by the API (50+ for 2015, hundreds in years before that). The 15 that are being returned are a mixture of pictures that I have uploaded and those uploaded by friends who then tagged me.