views:

47

answers:

1

I am trying to integrate iphone application with facebook, and I am stuck at a point where I need to let a user "Like" a page. This is because it's only after Liking the page the user gets to write some comments which will ultimately appear on the page's wall. I am not able to find any appropriate objective C code to implement this functionality.Also How do I check If a user "Likes" a page (any other way other then FQL)I need to hide the like button once he likes the page.

A: 

You should check the official Facebook Graph API documentation:

http://developers.facebook.com/docs/api

http://developers.facebook.com/docs/reference/api/

Facebook also now has an updated API for the iPhone for use with the Graph API:

http://github.com/facebook/facebook-ios-sdk/

EDIT: You may want to see http://stackoverflow.com/q/3809652/206520

mmilo