I ran into a strange problem with the Facebook Like Buttons. After implementing it on the articles pages in SOME cases, but most of them, it shows up the like count for the main page.
Article page example:
http://www.men.hu/a-legnepszerubb-gyogyteak/eletmod/gasztro/225
This article should have 0 to 5 likes, not 200+. The main URL has 200+ likes. After parsing it with Facebook's Linter tool, it works just fine! Shows 0 likes and the Facebook like button starts working on the article page too. It seems like it clears some kind of cache, or re-parses the URL and corrects its data.
Debugging the parsed Facebook like button, the data-href tag seems to be correct, showing up the current page URL, not the main page.
Where can be the problem and how could I solve it? Any ideas are welcome as I feel like I tried already everything...
I had this problem with some pages, it turned out that the pages had been published, then someone disabled them and reactivated them again later. While the pages were disabled, Facebook checked the page (they say they check pages every 24hrs to make sure the Page Title and other details are up to date) and got redirect to the home page, so used the 'like' count for that page. However, Facebook cached the redirect so never picked up again that the page had been re-enabled.
We resolved the problem by manually re-linting the pages using the Facebook debugger, as you have done already.
Your page does seem to have the correct Like count just now (3), so looks like you may have resolved the problem for now.
Related
I have a slightly confusing setup on my site right now with:
A like button with the data-ref attribute set to the root domain of my site
A like box with date-ref set to a Facebook page I created for my site.
These obviously leads to different things, as the like button has 2.7k likes while the like box/Facebook page has around 600. This last number is also the number of likes I see on my regular Facebook page.
Now I also noticed that I have a second Facebook page saying it is the administration page for my webpage. The page has never been used to post anything, and it doesn't seem to be visible to anyone but me. This page has 700 likes.
I've been reading documentation on this stuff, but I'm not feeling confident about merging the pages or anything just yet, so I have a couple of questions I'm hoping someone with more Facebook experience than me can answer:
Where does this 700 number come from? It's not displayed on either my like button or my like box.
Is there any way for me to combine these three different counts into one?
The 700 is the count of people that liked the URL after you created the admin page which represents that URL - this is irrelevant now as that functionality is deprecated. ( see the link CBroe provided: developers.facebook.com/docs/reference/plugins/like/migration
It is not possible to migrate fans from one object or page to another, except as was allowed during the migration period outlined in that document, if you didn't migrate during that period you cannot move the fans of the site/domain to be fans of the Facebook page instead
I've been working on this for two days straight now. I'm using Rails 3.1.
My setup is like the one Lopez42 spelled out at the bottom of the page at Facebook I like button not working all the time
Unlike the other posts here, my like buttons appear fine, my comment box pops up and my AJAX calls return success.
The problem:
If I click the Like button and leave the comment blank, everything seems to work fine. The like count is updated (I verified at https://api.facebook.com/method/fql.query?query=select+url,total_count,like_count,comment_count,share_count,click_count+from+link_stat+where+url=my_url&format=json)
The post to the wall says "so-and-so Liked a link".
If, however, I enter a comment, the post to Wall says "so-and-so Shared a link" and no counts get updated (as per same test URL from above).
One other thing. I have quite a few Like buttons on the same page, each with their own URL. I've tried using both HTML5 div fb-like and the fbml tag fb:like.
Also, the facebook debug lint page gives good reports on all og tags, etc.
Anyone have any ideas?
TIA, Dan
I use fan gates on a lot of different fan pages. The idea has always been you land on the page and see a like us to gain something after clicking like the page reloads and now the user sees the content behind the fan gate.
I noticed today that after liking a page it immediately goes to the wall, is this a bug? Is this feature deprecated? I don't have much wall activity on my pages, I'd rather users see our portfolio or special deals.
This is a bug on facebook right now, described here - https://developers.facebook.com/bugs/110015112440103
It'd be great to have an interim fix but since the code for the Like button is outside of what's accessible to the page tab, I'm having trouble imaging what a solution might look like, short of removing the address from your page to make it not a "place", which seem to be the only pages affected.
I've been having this problem for the past few days, but today I found the solution. It seems the problem lies with the new recommend dialog box on pages. This box only appears on pages for places and prevents the page from reloading. If you have a address assigned to your page then remove it and your fangate will reload in the window when liked and not redirect to the wall page. I know this isn't a preferred fix, but until Facebook fixes the new dialog box it'll have to do.
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...
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.