Facebook Likes Counter Button Does Not Always Show the Likes Count - facebook

I am very surprised about this problem. If you check along several web sites, you can see that many times the Facebook likes counter does not show any value, although the link has a count value greater than zero. If you check that thing with the Twitter same service, it always works right. It is a programmer or a Facebook team fault? Exists any way to solve this problem?
Thanks for reading.

I'm not 100% sure what the problem is, but chances are it's Facebook's fault (when in doubt blame them). :)
No, seriously... the Facebook Like plugin has several options that let you determine how the total gets displayed (if at all): standard, count, button_count and box_count. And if behavior is not what is documented and expected, then chances are Facebook is having a buggy kind of day/week/month.
But if you just need to query for the count, then you can use FQL to pretty easily get that info:
http://www.saschakimmel.com/2010/05/how-to-get-statistics-for-a-facebook-like-button-and-shared-urls/

I think it's the default behaviour to sometimes not show the count bubble until someone click on the share button.
Here is a description from another blog and how to get around it.
http://kopepasah.com/social-media/facebook/facebook-share-count-button/

Check for missing ampersands after parameters in like button's "src" url.
As far as iframe box_count type of like button for Facebook Page is concerned
I had the same problem because I manualy pasted fanpage link in to src of like button witohut & or '&amp' after pageid or page name.
I think that if there is no ampersand later parametrs aren't parsed.

Related

Facebook Not Scraping URL Properly (Blocked URL) On Fresh URL's

I have started to experience a really strange problem with Facebook link scraping/caching which seems random in nature.
On brand new posts when I go to check: https://developers.facebook.com/tools/debug/ with my new URL I get a message saying 'Cannot scrape: URL blocked'
We have literally been sharing URL's to Facebook for YEARS with no problem whatsoever. All open graph tags are present and working fine.
What is really weird is if I just manually press the 'scrape again' button it grabs all the bits properly and says everything is fine. It's always just the first attempt.
I have also tried manually calling the scrap API instead of letting Facebook do it when someone shares the URL for the first time and still sometimes (not always) it returns empty (just 'id' and 'url' returned) indicating the URL was blocked.
What's going on here it's driving me mad? We are nowhere near our API limits if maybe that was the issue...
Why would it say blocked first go on the debug page then literally 2 seconds later you press 'scrape again' and it works fine.
Just to note sometimes when it says blocked it still shows maybe the image in the link preview but no title or description. It's like it's grabbed some tags but then given up. Very strange...
I have checked our access logs and I can see 'Facebot' accessing our site fine.
Hope someone can help, I am really hoping this is some weird Facebook bug as I can't see any change in our code base that would effect this.
Facebook does not return anything helpful when this happens even with the API. I have no way in contacting Facebook direct either. If we are somehow getting blocked I would love to know why and fix that issue. But it's impossible to debug at the moment.
Just to note I have 3 sites all running the same code base (WordPress environment). They are all experiencing this issue. All been running fine for many years.
Cheers
This was to do with rate limiting that was not visible in the Facebook APP dashboard. Helpful...
Full details here: https://developers.facebook.com/bugs/232343637174087/
Solution for your problem: You can use Facebook image button after adding link on Facebook news feed, like shown in iamge
second thing upload image on othe site and give the image path to your website and then put it on your news feed, you can get definitely positive result using this two methods.
also refer this image
thanks hope this two will work for your problem

Facebook likes reset to zero

I've seen many posts with similar problem but no concrete solution.
I had 38 likes on my website and one day it was reset to 0. Now I've updated the script (as given on FB website) but have lost all my likes.
How can I get my likes back?
I had 38 likes on my website: http://www.buildingmanager.com.au
According to http://graph.facebook.com/http://www.buildingmanager.com.au/ you got 37 shares right now.
and one day it was reset to 0. Now I've updated the script (as given on FB website) but have lost all my likes.
In your like button code, you have given a different URL,
<div class="fb-like fb_edge_widget_with_comment fb_iframe_widget"
data-href="http://www.buildingmanager.com.au/sfmportal/" …>
– and that URL has only one share (http://graph.facebook.com/http://www.buildingmanager.com.au/sfmportal/)
And putting your base URL through the debugger shows that you’re a) redirecting to the second URL, and more importantly b) have given the second URL as content of the "og:url" meta tag.
If you want your likes from http://www.buildingmanager.com.au/ to show up using the like button for either of those URLs – then you will have to give that URL as "og:url", so Facebook knows you consider this the “actual” Open Graph URL to be liked.
If you are not willing/able to do that, because you want http://www.buildingmanager.com.au/sfmportal/ to be the new, actual URL for your project – then you’ll have a fresh start now, whether you like it or not ;-)
Are you sure nothing has changed at your side. Maybe a redirection? It's very unlikely to have Facebook set your likes to zero. But if there is a very slight at your URL, then it would. Maybe some recent plugin you've installed? Or moved your pages/changed URLs of your posts etc. You may use the Facebook debugger at https://developers.facebook.com/tools/debug for more info about your URLs. Hope it helps, because it's just not logical for Facebook to do such a thing.
I had a similar problem with one of my websites.
It was fixed by specifying that "/index.php" part after the ".com" to get the likes/shares back.
I had the same problem sometime back. The url in the og:url had https://... while the one in the like button element had http://...
They should match.

Sharing on Facebook returns no images, even if go:image is present and if linter says ok

here is my headache situation:
I have my weblog's single article page, if I try to share this page with the facebook like button, or with the old sharing bookmarklet, I get no image on Facebook post preview, and of course I don't get any image on my Facebook page too.
I can hear you say, well, check it with linter, sure, that's what I did, and this is what I've found so far:
Linter returns no error and it shows the right thumb image
if "after" the linter passage, I try to share the same page again, well, I get the thumb.
Do you have any idea of what's going on?
here you can see an example: https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Flegrandj.eu%2Farticle%2Falain_baczynsky
this is the original page: http://legrandj.eu/article/alain_baczynsky
well, I know at this point it's not easy do debug, because I've "linted" almost all pages, but you can trust me, no images.
thank you!
if "after" the linter passage, I try to share the same page again, well, I get the thumb.
This is because you already tried to share them and they're now cached without images. If you want to get all pages fresh with image(s), you have to wait or re-lint every page you want to share in future. That's the only way to lift all caches immediately.

Likes on home page are no longer showing

My homepage at http://www.kccurling.com no longer shows the likes. Though the other pages I set the ability to like is uneffected and does show their respective likes.
When I click the like button. rather than showing my facebook avatar I get a red "error". Clicking on the "red error", I get the following message
"There was an error liking the page. If you are the page owner, please try running your page through the linter on the Facebook devsite (https://developers.facebook.com/tools/lint/) and fixing any errors."
I then go the link provided. Type in the url and can see the number of likes for that page. by clicking the link at the bottom of the page. I click on debug. but that appears to do nothing. I am not savey enough to understand or see why the likes are still no longer showing on this page only.
This happen about the time I set up a facebook fan page but I am not sure if the two are linked.
Any directions would be appreciated.
Its most likely a temporary error.
Its worth making sure your Open Graph tags are present and working as per the linter.
You may need to wait an hour before linting again.
If its still borked in a couple of hours then there is a problem.
I've seen today a strange behaviour on my site too. The like button doesn't seem to work any longer. Then I've tried to create again a new like button on https://developers.facebook.com/docs/reference/plugins/like/. And this points in two directions. First I get a new app_id (but I don't know why). And second thing was, that I've had to verify my account by SMS or credit card. After that, all was fine...

Facebook Like Button Keeps Resetting

I'm trying to add a facebook "like" button to my page, and it is appearing just fine. My problem is that once it is clicked by a user, it says "Like NUMBER" then resets as if the request was canceled or something.
The weird thing is that if I try to like a page using my facebook account it works, but I tried letting a friend like some content and this behavior appeared.
I created a facebook app, specified the site url with a trailing slash, and site domain. I used the app ID with FB.init, and with the open graph tags. I can't figure what I'm doing wrong here. Any help would be appreciated.
Sample page can be found at: http://wiseolive.com/en/doctors/3881-khalid-jamal-salaymeh
First, for the count to work correctly, Facebook needs to have access to the page (in other words a public page). Check your URL in the linter tool (https://developers.facebook.com/tools/debug) to ensure it can been seen by Facebook.
Secondly, ensure your og: tags are correctly setup. Once again, you can use the linter tool to do that.
Facebook like buttons will show this behavior until they have been scraped by Facebook. That scraping (facebook like docs) will occur every 24 hours, when an admin clicks the like button or the url is put in the url debugger/linter. From what I can tell doing that will solve the problem for that specific link, but not any others you may have on your site.
I don't know of a generic solution for dynamically generated pages unfortunately.