0

I am querying in graph api like this /userid/albums

I am getting response of most users successful but I am though not getting response of some users. It give me blank response-

{
   "data": [ ]
}
Sahil Mittal
  • 20,697
  • 12
  • 65
  • 90
Hardik
  • 17,179
  • 2
  • 35
  • 40

1 Answers1

0

You need to ask the user for user_photos/friends_photos in order to get the albums of the concerned user or his friends.

Sahil Mittal
  • 20,697
  • 12
  • 65
  • 90
  • i have try all following permission though i am not getting the response of some users. friends_about_me, friends_activities, friends_events, friends_groups, friends_likes, friends_notes, friends_photos, friends_status, – Hardik Sep 17 '13 at 11:58
  • Pls elaborate what response are you not getting , and for how many users? – Sahil Mittal Sep 17 '13 at 13:09
  • i m just query like this /userid/albums in graph api explorer i m getting this response for some userid not all. { "data": [ ] } – Hardik Sep 18 '13 at 06:10
  • you can try yourself this query, you can not get some of user albums. – Hardik Sep 18 '13 at 06:14
  • Only some the albums right? This is normal, some users set rivacy to some of their albums. – Sahil Mittal Sep 18 '13 at 06:47