elp
elp

Reputation: 8131

Press Facebook like button from code


is there a way to directly click like on a fan page in facebook from iphone / ipad application without use the fb library ?
Or to open it in a UIWebView but directly on like?

thanks a lot.

A

Upvotes: 1

Views: 1419

Answers (1)

Blitz
Blitz

Reputation: 5671

it's not even possible with the fb library. You can only embedded a uiwebview with the like button itself, directly from facebook, generated here: http://developers.facebook.com/docs/reference/plugins/like
Be carfeul however, if the user is not logged into FB, you'll have to show him a full WebView to be able to log in.

It's very well possible to like posts and other thinks using the graph API tho. Just not pages, facebook restricts that for some reason.

{edit}: Is it possible to LIKE a Facebook Page via the API? another example of this

Upvotes: 1

Related Questions