"Facebook Likes" on my website are lost - facebook

I added "Facebook like button" into each topic of my forum (vBulletin).
Something like "198,286 people like this. Be the first of your friends."
But one day, some topic lost all it's facebook likes.
And now it has returned to "Be the first of your friends to like this."
All likes of that topic are lost?
Why is that? and how to fix it?
I'm from Vietnam.
I'm running a contest on my forum, and "Facebook likes" will be the score of each topic.
I found this code on my webpage
<!-- Facebook Like -->
<div class="fb-like"
data-href="MYWEBSITE/forum/showthread.php?t=26367";
data-send="true" data-layout="standard" data-width="375"
data-show-faces="false" data-action="like"
style="float: right; width: 375px;"></div>
<!-- /Facebook Like -->
End then my website will get the data from FB in a frame –

Right click on your website and click view source ,then find anything like facebook

Related

Facebook like button for facebook single post

I want to add facebook like buttons on my website - they should add likes to some posts on my facebook page. The trouble is that though I set a post URL in href, buttons applies to the page, not the post and likes counter shows total likes for page, and not that single post.
<div class="fb-post" data-href="https://www.facebook.com/eightblackdots/posts/837235539689618/" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div>
What am I missing?
It´s not 100% clear in the docs, but you can only use the Like Button for an external URL or a Facebook Page, but not for single posts or anything else on Facebook.

Why is my facebook like button applying to the "social plugins" page?

I have added a facebook like button to my site at http://forkmyreligion.com. I have triple checked all the settings for the app on my developers.facebook page and I'm pretty sure its all correct - the domain is correct, the website url is correct and I have the correct app id for the application.
The problem though is that clicking on the like button results in the user liking the facebook social plugins page rather than my page.
Any ideas what the problem might be?
Thanks
The Like button on your page is Liking the social plugins page because the Like button on your page has a data-href parameter which is explicitly configuring the like button to like that URL:
You have this:
<div class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-colorscheme="light" data-layout="standard" data-action="like" data-show-faces="true" data-send="false"></div>
You need to set the data-href to the URL you want the button to display and increment the like count of.
This parameter is mentioned on the Like button documentation and the example in the documentation is the URL https://developers.facebook.com/docs/plugins/

Likes count doesn't match on website and facebook pages

The following website and Facebook page show different 'Like' number counts. The Facebook page shows 125 'Likes'. The website only shows 18 'Likes'. Why are these numbers not the same? What can we do to make them match?
The like button on your website needs to refer to your facebook page. To do this just change
<div class="fb-like" data-href="http://www.customdocksystems.com" data-send="true" data-width="100" data-show-faces="false" data-colorscheme="dark"></div>
to
<div class="fb-like" data-href="https://www.facebook.com/customdocksystems" data-send="true" data-width="100" data-show-faces="false" data-colorscheme="dark"></div>
and the like button on your website will show the number of likes that your Facebook page has. Furthermore, when a user clicks the like button on your website they will like the Facebook page so you can keep in touch with them through that.
The catch to all this is that when people click the like button on your website after this change, the story that is shared to Facebook will direct users to your Facebook Page instead of your website.
Check out "Can I link the Like button to my Facebook page?" on https://developers.facebook.com/docs/reference/plugins/like/ for more information.

Can Facebook Page and third party website share Likes?

I am trying to get my head around this FB API thing and I wonder if it is possible to share likes between FB page and a website.
For example: I have a website example.com that has a like social plug-in button on it, I also have a FB page(as recommended by FB, not sure why I need one) for example.com.
What happens when the user clicks on like? Is it possible to interconnect these entities so that the likes don't get scattered?
You can change the Facebook like-button to a like-box containing the id of your page.
An example of this would be:
<div
class="fb-like-box"
data-href="http://www.facebook.com/example.comFB" data-width="300"
data-height="300" data-show-faces="true"
data-stream="true" data-header="true">
</div>

facebook like button displaying incorrectly (debug shows empty href)

I'm having an issue with the facebook like button on website:
according to the facebook lint tool my like buttons are:
<div class="fb-like" data-href="" data-send="false" data-layout="button_count" data-show-faces="false"></div>
however my page has:
<div class="fb-like" data-href="<?=$value['actions'][1]['link'];>" data-send="false" data-layout="button_count" data-show-faces="false"></div></p><hr />
and I'm 100% sure that $value['actions'][1]['link'] actually contains a valid facebook URL
(when looked at my page without re-rendering, it also shows this URL)
-
With this output you'd expect the like not to function, however it does:
if I like a status message, it tells on the page that I liked it, and it is the first like for that item;
however if I go to facebook, it states that I liked it, and also states that there are x other likes.
If I refresh the page, it's again like I didn't like the item yet; altough it's the same item
-
I hope you understood my problem, isn't that easy to explain...
First, remove the loading of the Facebook scripts and check your view source to ensure the data-href is populating correctly prior to the Facebook parser getting to it.