Like button for Facebook page - facebook

Is possible to add on a website a like button where user likes a specific Facebook Page? Or this action is only possible when the user accesses my Facebook Page?

Check this out :
https://developers.facebook.com/docs/plugins/like-button
You can specify the page you want people to like, the size, everything.
You can also make a page plugin, which allow your users to like a Facebook page, see who likes it, etc :
https://developers.facebook.com/docs/plugins/page-plugin

Related

Facebook Like Button: Unify a Url & a Facebook Page

In Facebook docs it says:
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.
My problem is that I don't want the Facebook page to be the target of the 'like'.
So currently, the like button on my site attributes the likes to the root domain 'http://example.com/', which is what I want.
This has got many more likes than the facebook page 'http://facebook.com/examplecompage'
Is there a way to make the likes on my facebook page contribute towards the root domain likes?
That is not possible, since they are treated as 2 different objects.
And just to clarify, the documentation on the Facebook developer site is referring to the Like button that you create to be displayed on your site, not the Like button you get on Facebook automatically when you create a page.

Like button likes Facebook Auto Created Page rather than my Own Facebook Fanpage

I have an Official Facebook page I've setup for my new company.
I have a like button on my website with the appropriate meta tags related to that website.
But when Someone clicks the "like" button, it "likes" a page on facebook that facebook has automatically created thats not related to my own Facebook Fan Page using the META tags into from my webpage. I am using the iframe code for the like button.
How can I stop this happening? Thanks so much.
On the site you have chosen the Style of your "like" Button you have to put in the Url of your company Facebook page again, if you don't do this you'll get a like-Button for a Facebook page.

Like button for Facebook page shows generic Facebook description in News Feed

I want a Like button on my web site that Likes my Facebook profile (rather than my web page), so that when a user clicks it they subscribe to my Facebook posts.
I've created the Like button using the tool at https://developers.facebook.com/docs/reference/plugins/like/
Further down that page there is an FAQ entry:
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.
So, I've edited the href parameter to point to my Facebook page. eg:
https://www.facebook.com/myfacebookid
When a user clicks the Like button it has the desired effect. The user ends up having Liked my Facebook page. This is easily verified by the user going to my Facebook profile and checking that the Like button has changed to Liked.
But. When the user clicks the Like button, and entry appears in their News Feed with a generic Facebook description. ie:
Facebook is a social utility that connects people with friends and
others who work, study and live around them. People use Facebook to
keep up with friends, upload an unlimited number of photos, post links
and videos, and learn more about the people they meet.
I don't want a generic post about Facebook to appear. I want the description to relate to my Facebook account and/or web site.
Normally, I could modify this behavior with the Opengraph og: description tag, but as the page in the href is a Facebook page and not my own, I can't control the Opengraph tags.
I'm pretty sure that this was working okay before I enabled timeline for my account, so maybe this is a timeline bug?
So, how do I add a Like button which a) Likes my Facebook profile rather than one of my own web pages, and b) Posts a description of my Facebook profile rather than give a generic Facbook description?
Are all your fields in the info part of your page filled in, and/or completed? I just tested your theory and it seemed to work as expected, only thing is I know all fields in "info" are filled it. Give that a try.
This may happen if you have filled invalid/incomplete/wrong og tags in past and later changed them. Facebook's cache creates problem sometime.
Try putting all the entries (i.e. all og tags) and then debug them here http://developers.facebook.com/tools/debug. This debugger gives a detailed info about the url with og tags and also clears the cache for you.
This should solve the problem.
You have 3 important fields that used on page opengraph: Name,Description,Profile Image.
They are used when some one post your link on Facebook, or Google or some else web service that handle opengraph.
Actually, the suggested answers currently do not work and there is an open bug / ticket on Facebook for it. Up to now, there's no fix.
The problem is that you can not use simply https://www.facebook.com/myfacebookid. You should copy and paste the exact page URL. If you have a low number of likes it would look something like https://www.facebook.com/pages/[YourPageName]/[Your page Id]/, and this is the URL that you should use at this point.
If it does not work, try also https://www.facebook.com/[YourPageName]/[Your page Id]/.
In short, copy-paste the URL, do not type it manually.

Facebook Like Button as Share Button

I need use a facebook like button on my site. But this site have a dinamicall data.
Exists any thing to use a facebook like as facebook share whit metadata params:
Eaxmple :
I use a share button like this:
http://www.facebook.com/sharer.php?s=100&p[title]=titulo&p[summary]=descripcion&p[url]=http://mydominio.com/compartir&p[images][0]=http://mydominio.com/imagen.jpg
The http://www.facebook.com/sharer.php is being deprecated. You should use the new Like button (http://developers.facebook.com/docs/reference/plugins/like/).
If you have your OG tags specified correctly, the user who clicks the like button will be presented with a "share" dialog which will post a link to the site onto the user's feed. Anyone subscribed to that feed will see the link.

Link web page, Facebook Like button, and Facebook fan page?

Is this possible?
When someone clicks a Facebook Like button, he/she shares the web page URL with friends on Facebook.
With the same click, the user also becomes a fan of the web site's Facebook fan page.
Thanks!
While adding a Like button on your website to like you "Facebook Page" is possible (and I guess you know that), you can't use the same button to like multiple entities (your current page and the Facebook Page).
What you can do is:
Have two Like buttons, one for the current page and one for the Facebook Page
Place the Like button of your Facebook Page in a "visible" location (e.g. on top of the sidebar)
Capture the like event of your current page (with edge.create)
Encourage the user to "Become a Fan on Facebook too" whenever they like your current page.
See this link on Facebook's developer site.
This will do all the points 1 and 3 you mentioned above. As far as point 2 goes, you will need to reference that on your facebook page.