C#code喜欢Facebook上的页面 [英] C# code to like a Page on facebook
问题描述
可能重复:结果
<一href=\"http://stackoverflow.com/questions/4379092/is-it-possible-to-like-a-facebook-page-via-the-api\">Is可以通过API LIKE一个Facebook页面?
我怎样才能让谁授予的Facebook同意我的应用程序编程用户让他像代他具体的Facebook页面? C#MVC code
How can I make a user who has granted facebook permission for my application to programmability make him like a specific facebook page on his behalf ? C# MVC code
推荐答案
这个问题被问的每周这里是一个很大的问题,如<一个的副本href=\"http://stackoverflow.com/questions/4379092/is-it-possible-to-like-a-facebook-page-via-the-api\">this之一。你不能强迫用户喜欢通过任何code页面中的任何平台上的任何语言。用户可以喜欢你的网页的唯一方式是1)将你的Facebook页面,并点击喜欢,或者2)点击您通过您的网页上的iframe或XFBML code嵌入一个Like按钮,如这里记录。技术上选项3)是提示他们的用户名和密码,并通过与用户凭据像Facebook的网址张贴刮Facebook网站。这是一个快速的方式获得您的应用程序/网页拉开序幕,虽然Facebook的,因为它违反了他们的服务条款的。
This question gets asked weekly here and is a duplicate of a lot of questions, such as this one. You cannot force a user to like a page through any code in any language on any platform. The only way a user can like your page is 1) going to your facebook page and clicking "Like", or 2) clicking on a "Like" button that you embed via an iframe or xfbml code on your page, as documented here. Technically option 3) is to prompt the user for their username and password and scrape the facebook site by posting with the users credentials to facebooks like url. This is a fast way to get your app/page kicked off of facebook though as it violates their TOS.
这篇关于C#code喜欢Facebook上的页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!