android - How do I get album id's from the Facebook graph api? -


i sending request following url: https://graph.facebook.com/v2.3/me/albums?

the response getting

"data": [ { "id": "x", "from": { "id": "x", "name": "robert s" }, "name": "profile pictures", "link": "link", "cover_photo": "x", "privacy": "everyone", "count": 11, "type": "profile", "created_time": "2010-09-04t07:02:31+0000", "updated_time": "2015-04-08t23:49:48+0000", "can_upload": false }, { "id": "x", "from": { "id": "x", "name": "robert s" }, "name": "cover photos", "link": "link", "cover_photo": "x", "privacy": "everyone", "count": 1, "type": "cover", "created_time": "2014-12-02t04:45:56+0000", "updated_time": "2014-12-02t04:45:56+0000", "can_upload": false } ] 

notice how id's same? replaced actual id 'x' demonstration purposes. every 1 of photo albums.

how unique id's each photo album?

try use:

https://graph.facebook.com/v2.3/me/albums?fields=id 

it return albums id


Popular posts from this blog