facebook - Cannot get the Likes of a Photo Object -


i using graph api in ios app. when request of type [facebook requestwithgraphpath:@"me/photos"] .. expected result (the 25 recent photo object). can see in results comments, tags... each photo cannot see likes each photo. else experienced before or missing permissions approval? prior retrieving photos, [facebook authorize:] following permissions : "user_photos", "friends_photos". seems me likes property missing returned objects...

thanks help.

getting likes separate graph api call. wouldn't count on comments in photo call, seems undocumented feature.

the url is: https://graph.facebook.com/{photo id}/likes , comments: https://graph.facebook.com/{photo id}/comments

the photo object documentation page friend here.

you combine these calls using batch request of photo ids gets likes , comments each photo id.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -