php - Using facebook graph api, fetching users tagged in photo and realted photos -
we have got requirement facebook based application, wherein
- we need fetch given photo.
- identify users tagged in photo , then...
- fetch photos in of tagged user appearing.
can please suggest how achieve using facebook's graph api?
thanks , regards
you can access photo properties, including tags, per graph api documentation (http://developers.facebook.com/docs/reference/api/photo).
to fetch photos of given user, need request user_photo_video_tags extended permission them when authorize application.
if photos/users involved in process belong to/have authorized application should work. otherwise, fraught problems, e.g. if said "given photo" isn't public (i.e. visible "everyone"), need identify owner , request user_photos permission them. similarly, friends can tag friends in photos, can't assume you'll able access photos of tagged user.
good luck! :)
Comments
Post a Comment