开发者

Facebook like with sharekit on iphone [duplicate]

开发者 https://www.devze.com 2023-03-11 02:13 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: iOS 'like' facebook application page, how to do it?
This question already has answers here: Closed 11 years ago.

Possible Duplicate:

iOS 'like' facebook application page, how to do it?

i build a web site and it has a facebook like button. i handled the link of the like button and want to make it with sharekit. For 开发者_Python百科example, i can handle share button and share it with sharekit but i cannot do it for like button also. Did anybody something like that or is there any other way to this?


The only way to allow a user to like a link or page or anything is to embed the iframe/xfbml like button code in a UIWebView control.


It seems there is an agreement on not being able to do this. However, this post shows you can: Using 'Like' with the Facebook Graph API on iOS

To back it up, here's an excerpt from FB Graph API documentation:

You can comment on or like any object that has a /comments or /likes connection by posting to https://graph.facebook.com/OBJECT_ID/comments and https://graph.facebook.com/OBJECT_ID/likes, respectively:

(source: http://developers.facebook.com/docs/reference/api/)

0

精彩评论

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