Sam
Sam

Reputation: 626

'Like' functionality in FQL / Graph API / iOS SDK

Does anyone know the recommended way of creating a FaceBook 'likes' button using the iOS Facebook SDK and the Graph API or FQL.

It does not seem to be directly supported or at least I can't find out how to do this using the documentation.

One approach other people have used is to embed the button in a webview and I have found this: http://angelolloqui.blogspot.com/2010/11/facebook-like-button-on-ios.html

The strange thing is that I can't seem to post a like using the graph API or FQL. Am I missing something?

Upvotes: 2

Views: 1052

Answers (1)

bkaid
bkaid

Reputation: 52093

The only way to like a page is via the Facebook like button in html. I'm almost certain there will never be any other way. Thus, you would need to embed the Facebook like button inside a UIWebView. If they made a graph API method for it, it would be abused by everybody and every developer would make the user like their app and their pages.

Upvotes: 1

Related Questions