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