문제

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.

도움이 되었습니까?

해결책

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 using Facebook iOS SDK 2, how do I like a page? - "Application must be on whitelist"

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top