Facebook Like Button: Unify a Url & a Facebook Page - facebook

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.

Related

Like button for Facebook page

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

How do I add 'Like Page' button to my URL timeline post

I have used opengraph to share my website to facebook. Is there any way I can add a 'Like Page' button to it, so that my associated FB business page gets liked instead of the shared post?
https://developers.facebook.com/docs/sharing/best-practices#tags
“article:publisher - This property links to the publisher of the article. The target of this property must be a Facebook Page. When displayed in the News Feed, Facebook may offer the ability to like the publisher. Note that this tag is only available to media publishers.”
So your og:type of the shared object must be article, and your page that you specify as publisher must be in the appropriate category.
Notice also how it says there that Facebook “may offer” the page like button, meaning there is no guarantee it will show up if Facebook doesn’t think your page is important enough.
That looks like a sponsored post. The add searches what friend liked that page and suggests you to like that page, because your friends liked it.

Facebook says my Facebook page is not valid and it is

I keep getting this message when I try to add the Like Box to my blog:
The href parameter must reference a valid Facebook page, but "http://www.facebook.com/OneBrownGirl" is not a valid Facebook page.
Since I know my page is valid, what do I do?
This is not a Facebook Page. This is your Facebook Profile.
You can create a Facebook page here: http://www.facebook.com/pages/create/
From the Facebook Like Box social plugin page: "The Like Box is a social plugin that enables Facebook Page owners to attract and gain Likes from their own website."
Like Box is for Facebook Pages. If you enter a URL value on the Like Box social plugin preview page and the URL does not render a Like Box then a WordPress plugin implementing the Like Box social plugin would be no different.
Facebook has separate profile badges which may be supported by other WordPress plugins.http://www.linkyiwu.com/
Just go to the facebook page you created, then click on setting and on the very bottom of the page you will see facebook page ID. pick the whatever iD for the page and paste where the

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.

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.