I can publish without problems with the facebook api OpenGraph, but I do not see how to automatically "like" a page with OpenGraph, in fact I would like the user to like automatically a page when he accepts my application, an idea on how to proceed?
Thanks
You cannot have a user like a page on Facebook programmatically with the API... Wise choice of Facebook's too, imagine the abuse that would occur. You should use the facebook like button instead.
Confirmations:
'Like' a page using Facebook Graph API
Related
I have read through the documentation on how to set up the Facebook Registration Plugin. In reading I saw that there are what facebook calls named fields and custom fields. What I am looking for is a check box that says "Like us on facebook". If that is clicked and the form is submitted the user auto likes our page.
I would think that there would be a field in named fields area that does this.
Some of the research I have done suggests that forcing an auto like on a user is black hat and could result in the deletion of your facebook page. This registration plugin seems like a good way to get the user to opt in to facebook marketing. Yes I could auto like them on submit if the box is checked but then how would facebook know that I have permission to do this.
Does anyone have a "white hat" solution to "liking" a facebook page within a form besides the obvious facebook like box plugin?
This is not possible.
Yes I could auto like them on submit
How would you do that? I can't think of a way to "Like" a Facebook Page programatically!
To be able to like a page, you'll need to get extended permissions from the user and use the Graph API's Publishing Feature. However, this can't be done using the Registration Social Plugin.
As I said you will need to use the Graph API to authenticate the user, while doing that you will need to request permission to publish_stream which will allow you to like your page after authentication by making a Graph POST request to Like the object.
However, although you can do this, it is far more complex than the Registration Plugin, it requires more steps and much more work on your end. However, if you really want to do it, it is certainly possibly.
I have problem on Facebook "like" button.
I put facebook "like" button in my page but I click that button it is not navigate to what I gave in href link and I want to perform facebook "like" button action same as facebook.
I can "like" this link on facebook how to do same as in my website using facebook "like" button ?
You can only 'Like' a fan Page by clicking the FB supplied button that sits in the parent FB page outside of your iframed application page. As frustrating as this can be to designers and UX developers it is potential security flaw if an application (boxed in as a Fan page) is allowed to 'Like' itself. I.e. users could be duped into 'Liking' a Page onload without their consent.
You can get the count of Likes for a Fan page. That is the only 'Like' action permitted on this object type.
http://forum.developers.facebook.net/viewtopic.php?pid=294757
You can't add likes to a profile using the Facebook Api.
Read here for more details 'Like' a page using Facebook Graph API
Unfortunately, this is not possible. You can only like a post via the graph api acccording to the docs.
Unfortunately it is not possible via any of the API's to like a page programmatically.
This is to prevent spam where people create apps to mass-like pages.
Hope this helps.
You cannot make a user like a page. That isn't possible unless you use a XSS attack (which facebook probably prevents), and you'll get banned from facebook. If you want to know how to place a like button, see http://developers.facebook.com/docs/reference/plugins/like/
I am adding the Facebook like plugin onto my website, and from what I understand, when a user clicks 'like' the URL of the current page or a specified page is posted on their wall.
Is it possible to have them join a Facebook page at the same time?
The like button plugin is for adding external pages to the Social Graph. If you want to have users Like your actual Facebook page from your external Web site, then the plugin you're looking for is the Like Box. You can customise various elements of it to add/remove features such as a live feed of your page or a facepile of people who like you page etc.
I don't think that this is possible. Have a separate Like Plugin for your Facebook Page.
This is not possible. The Like feature you add to your website is for a specified URL for the user to Like. The Facebook Like is for the Facebook page only. You can't automatically get a webpage outside of Facebook to Like a Facebook page. If this was possible, it would be an abuse to their system.
I'm just wondering if there is anyway to have the like-page correspond to the Facebook Page rather than the website. My organization mirrors it's efforts inside of Facebook, and so I don't see any reason to even make Facebook aware of the website.
SURE!
The Facebook Like Plugin make it very simple to Like your Facebook Page from almost anywhere:
Can I link the Like button to my Facebook page?
Yes. Simply specify the URL of your
Facebook page in the href parameter
of the button.
Reference.
I have a webpage, and facebook page. I would like to have a "like" button that wouldn´t like the facebook page but the last post I made on the facebook page. Is this possible?
Greetings
sorry but having an external like button pointing to a single facebook content is not possible at the moment. Although there are codes in the Graph API: Publishing documentation that relate to this.
Using the said code can make users (who authorized you app) like a content, just like what you are asking for, but I've tried this before and it says that the application needs to be white-listed. I've researched more into this matter and a few more people experienced this as well.
More references:
www.insidefacebook.com/2010/10/08/causes-whitelisted-like-pages-2/
bugs.developers.facebook.net/show_bug.cgi?id=10714