What Facebook permissions are required to view photos that your friends are tagged in?

StackOverflow https://stackoverflow.com/questions/23614537

  •  20-07-2023
  •  | 
  •  

سؤال

It seems that the answer is the friends_photos permission, see these answers

However, there is no reference to it in the documentation. I fear it may have been removed? Can anyone confirm it is still possible to get friends photos?

هل كانت مفيدة؟

المحلول

If you created the app after 4/30/2014 you have only access to v2.0 of the API and you can not access any friends data

نصائح أخرى

There is limited access to friend's timeline, photos and videos in v2 API.

UserA can see the timeline, photos and videos of UserB if and only if,

  • They are friends
  • Both granted user_friends permission to your application and
  • UserB also grants the user_posts, user_photos and user_videos permissions to your application.

The following steps can be used to test the same in the graph API explorer.

  1. using access token of UserA call me/friends
  2. get id of UserB from response
  3. call [UserB-id]/albums
  4. get album id
  5. call [album-id]/photos
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top