开发者

returning blank json data while accesing album in facebook

When i am using Graph API of facebook in android ( with facebook android sdk ) to access albums m using following url

https://graph.facebook.com/me/albums?access_token=XXXXXXXXXXXXXX

but unfortunately it is returning {"data":[]}

other urls like

  https://graph.facebook.com/me?access_token=XXXXXXXXXXXXXX
  https://graph.facebook.com/me/friends?access_token=XXXXXXXXXXXXXX

are working totally fine.

so i don't know for what reason its returning {"data":[]}. I tried accessing my own account on facebook and use example url provided on Graph API & over there if i use following url then its giving me all necessary data. but not working in facebook andr开发者_运维技巧oid sdk

https://graph.facebook.com/me/albums?access_token=XXXXXXXXXXXXXX


The photo albums this user has created. Requires the user_photos or friend_photos permission

You need that permission!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜