开发者

Likes and Facebook Apps

开发者 https://www.devze.com 2023-03-17 06:41 出处:网络
I have an application开发者_开发百科 in facebook. I want to add one of the pages on my site to facebook user like list, so if he clicked \"I like\" on my web page. Can I do it programmatically? I foun

I have an application开发者_开发百科 in facebook. I want to add one of the pages on my site to facebook user like list, so if he clicked "I like" on my web page. Can I do it programmatically?


I found the Facebook developer pages to be really informative. Check them out!

http://developers.facebook.com/docs/reference/plugins/like/


http://developers.facebook.com/docs/reference/plugins/like/

http://www.webmonkey.com/2010/04/adding-facebook-like-buttons-to-your-site-is-damn-easy/


With your update it sounds like you are trying to make the user like your page against their will. This is not allowed by Facebook and there is no api to force a user to like your page. They must click your like button - you cannot click it for them. Although I have seen some spam sites that have found flaws that allow you to do this. Also other spam sites will do clickjacking - where they overlay other buttons over top of the facebook like buttons and trick users into clicking them. However this is one of the fastest ways to get your apps and accounts banned from Facebook.

0

精彩评论

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

关注公众号