开发者

Press Facebook like button from code

开发者 https://www.devze.com 2023-02-05 05:37 出处:网络
is there a way to directly click like on a fan page in facebook from iphone / ipad application without use the fb library ?

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 UIW开发者_开发百科ebView but directly on like?

thanks a lot.

A


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号