How to check and let the user "like" the page programmatically from the iphone application?

I am trying to integrate an iphone application with facebook and I am stuck at the point where I need to let the user β€œlike” the page. This is because only after Liking on the page the user can write comments that will eventually appear on the wall of the page. I cannot find a suitable C object code to implement this function. Also, how to check If the user "likes" the page (in any other way than FQL), I need to hide a similar button as soon as he likes the page.

+3
source share
1 answer

You should check the official documentation of the Graph Graph API:

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

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

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

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

EDIT: You might want to see with Facebook iOS SDK 2 how I like the page? - "The application must be in the white list"

+2
source

Source: https://habr.com/ru/post/1767878/


All Articles