Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Like button showing 0 likes for ALL Facebook pages

UPDATE: So this is big. If you try to link to any facebook page with a like button it doesn't work. Try going to the Facebook like creation page (http://developers.facebook.com/docs/reference/plugins/like/) and entering the URL of any facebook like page (like Stackoverflow's: http://www.facebook.com/stackoverflowpage).

This code was working fine until earlier today and now I'm completely lost as to why it has stopped working. The like button loads, but you can't like it or send a message with it and the like count is 0 (it should be around 350).

Here is the jsfiddle. It's very simple: http://jsfiddle.net/rqR6C/

Every so often and ONLY in Google Chrome's console, I get an error. I've found a few other people experiencing this same error message who also say that it's intermittent. Here's the error:

The frame requesting access set 'document.domain' to 'facebook.com', but the frame being accessed did not. Both must set 'document.domain' to the same value to allow access.

The code:

<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
    // Init the SDK upon load
    window.fbAsyncInit = function() {
        FB.init({
        appId      : '464723870207650', // App ID
        channelUrl : '//'+window.location.hostname+'/channel.php', // Path to your Channel File
        status     : true, // check login status
        cookie     : true, // enable cookies to allow the server to access the session
        xfbml      : true,  // parse XFBML
        frictionlessRequests: true
        });
    }

    // Load the SDK Asynchronously
    (function(d){
        var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
        if (d.getElementById(id)) {return;}
        js = d.createElement('script'); js.id = id; js.async = true;
        js.src = "//connect.facebook.net/en_US/all.js";
        ref.parentNode.insertBefore(js, ref);
    }(document));
</script>
<div class="fb-like" data-href="http://facebook.com/pages/Grouptonescom/160798537354204" data-send="true" data-layout="button_count" data-width="180" data-show-faces="false"></div>​
like image 985
Colin Avatar asked Nov 14 '12 02:11

Colin


People also ask

Why some Facebook page has no like button?

Facebook pages of brands, public figures and artists will no longer have the like button, said the social media giant in its revamped design of public pages. The pages will now solely focus on Followers. According to Facebook, this will simplify how the user connects with Facebook pages.

Is Facebook removing likes from pages?

Facebook have announced another update, following 2020's revamp, which will be rolling out from January, 2021. This update will see Facebook removing likes from their new Pages experience, which means there may not be much to “like” at all.

How do I enable likes on my Facebook page?

Go to Settings › General, then click the Share tab. Enable the Facebook Like/Recommend button setting by clicking the “thumb up” Like icon.

How do I like a Facebook page on my website?

When a person visiting your webpage clicks the Like button, an App Event is triggered to log this like on Facebook. Get a Customized Like Button Use the Like Button Configurator to get the Like button code to insert into your webpage. Set the URL of your webpage where you are placing the Like button

Why doesn't my Facebook page have the like button?

"This means that we aren't allowing any ads from politicians, including President Trump," it said. Facebook pages of brands, public figures and artists will no longer have the like button, said the social media giant in its revamped design of public pages. The pages will now solely focus on Followers.

What does it mean when you get more likes on Facebook?

If you have more Facebook likes on your profile, it means that people are more interested in what you do. If you get more Facebook likes on your business, it means that people are more interested in your business. If you get more likes on your Facebook page it means that people are liking your content.

How to check the number of likes on a Facebook page?

One of the easiest ways to do this is to use facebook like checker tool by Fblikecheck which helps you check the amount of likes on a page. Facebook Like Checker is a Free App that lets you check any Facebook Page likes country wise, A great tool for statistics and demographics of Facebook Pages.


1 Answers

UPDATE: A friend who works at Facebook confirmed this was a bug, and now it's just been fixed. Here's a screenshot of the Starbucks page for posterity:

Starbucks.com has 0 FB likes


The cause of zero likes is having the fb:like href set to your Facebook page. This is a bug, as the Facebook docs for the plugin officially state:

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.

Someone else noticed this here on SO - Adding your Facebook Fan Page URL to the LIKE button doesnt work anymore?

Facebook made a recent announcement about Like migrations (2011-Nov-7), so it looks like they broke something in the process.

I've added a <meta property="fb:app_id" content="..." /> line, where the app ID was pulled from https://graph.facebook.com/ (not sure if that's correct though). Didn't help. Still can't point to our fan page.

Trying to report this issue to Facebook is an exercise in futility. The Known Issues page seems largely abandoned, BUT there is a contact form for Facebook Business Pages under "tell us more". I suggest as many of us as possible use that form to report this problem. Here is my report:

Since the Nov. 7 migration of the like plugin, linking the Like button to a Facebook page will show zero likes for that page. Examples include http://fundersandfounders.com/ (which links to https://www.facebook.com/fundersandfounders with 17,000 likes).

like image 103
Dan Dascalescu Avatar answered Sep 18 '22 10:09

Dan Dascalescu