facebook - Getting details of likes and comments of a particular post id in ios -


i doing native ios application in making post on facebook programmatically depending on user inputs. able post , able post id. want details of likes, comments , shares post have got future manipulations. using me/feed method post in facebook. in issue 3days. little useful.

if want count can use following code may you. simple url request graph api:

http://graph.facebook.com/[full url]  example: http://graph.facebook.com/http://www.stackoverflow.com  edit: (an example "likes") http://graph.facebook.com/http://www.imdb.com/title/tt0117500/  example :  http://graph.facebook.com/http://www.imdb.com/title/tt0117500/ 

or call new request fb object:

[facebook requestwithgraphpath:@"photo_id/likes"];  replace photo_id facebook id of photo you're interested in. call return array information photo.  in -facebook requestdidload: method, count of array return number of likes.  nsinteger likecount = [result count]; 

Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -