Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to "like" and "comment" on facebook through Graph API in iPhone?

I am displaying news feed using graph api. I have queries about below problems.

  1. I would like to give "Like" functionality for each news feed post.

  2. I would like to give "Comment" functionality for each news feed post.

Can someone assist me how to solve this problem using either graph api in iphone.

like image 429
Apekshit Avatar asked Jan 18 '11 06:01

Apekshit


1 Answers

Please refer to my answer here: How to comment or like a photo in facebook through FBconnect or Graph API in iPhone SDK?

Just post your Access Token to https://graph.facebook.com/ID_OF_THE_POST/likes or your Access Token and the Message as a parameter to https://graph.facebook.com/ID_OF_THE_POST/comments.

For more info see the "Publishing" part in the Facebook Documentation: http://developers.facebook.com/docs/reference/api

like image 154
audience Avatar answered Nov 15 '22 23:11

audience