Facebook like button not working on my site.
It goes from like back to default as if it isn't passing some validation.
http://www.imageizer.com/
Once the problem is detected and solved, I'll edit the question to represent a minimal example that will benefit the SO community. Unfortunately I can't pull out the problem out yet as I'm not sure what it is..
Here is a screencast demonstrating the issue http://see.weareinto.com/8Hbq
I believe this is a problem happening on facebook's end. But, there is a way you can fix it... Just copy the URL of your page and enter it in the Facebook LINTER tool here:
Facebook LINTER -> https://developers.facebook.com/tools/debug
I'm not sure of the exact details of why this works, but from what I've been able to gather, when you run the LINTER tool on your URL it will also update the cache facebook has for your URL. The error with the button working is on the facebook side, so by running this tool and getting facebook to update their cached data for your page, the like button starts working again. I've seen this broken facebook button occur for a few different reasons, one being that a page used to use the old facebook share button. When you add the new like button to a page that used to use a share button, the like button won't work until you run the page through the linter.
Bottom line is doing this will fix your like button. If your facebook button doesn't work on a page, run it through the LINTER tool. Hope this helps!
If you are on Wordpress and you have the "Facebook Comments" plugin enabled, uncheck "Include OpenGraph Meta Information" at the very bottom of the Facebook Comments settings page. This was screwing it up for me.
Related
Please help.
I want to add a facebook like button for my facebook page on my website, but I cannot do it because the fb like button does not show up.
When I go to the like button configurator https://developers.facebook.com/docs/plugins/like-button#configurator , and enter the url of my fb page in the 'URL to like', the like button does not show up. Even if I copy & paste the code generated from the like button configurator to my website, the like button does not show up on my website.
But if I enter a different facebook page in the 'URL to like', the like button shows up and everything works as expected.
I noticed this issue about 10 days ago.
Before that, there were no issues and the like button for my fb page was visible on my website and also in the like button configurator https://developers.facebook.com/docs/plugins/like-button#configurator.
I contacted facebook about this issue many time but they don't answer.
Why is my like button not visible anymore?
We had the same issue today. We recognized that the og:url didn´t match the data-href of the like button and so the button wasn´t shown at all (even though it was rendered) - This is also mentioned in the official documentation.
Maybe this helps someone else.
I'm currently investigating the capabilities of Facebook API, like/share/comment of public posts from a public pages, for a client. I also noticed this problem. I think that this is related to a fact that Facebook removed the option to like page posts without the page access token that must be granted to your app by a page owner. If you try to do it from the Facebook API you will get the following error:
"(#3) Publishing comments through the API is only available for page access tokens"
I was able to get like button for my page itself, but as soon as I enter the url to some of the page's posts, the button disappears. You shouldn't suppose to have problem with the share button, but if you try to use an integrated version of like+share button, if the like doesn't work, you will lose the share button too.
Here is (only) the share button Configurator:
https://developers.facebook.com/docs/plugins/share-button
I've had this like button/box setup for this specific page for some time. But now it;s stopped working:
Using code generated (for iframe) on this page:
http://developers.facebook.com/docs/reference/plugins/like/
to display this fb page:
http://www.facebook.com/JohnPurkiss
does not display/work. If I amend the like button url in the iframe to another fb page, it does work. I'm not tryinig to use a button/plugin that requires an app. Just a plain 'ol simple button. But it appears to me there is an issue with this specific fb page (johnpurkiss one above)
Any advice/help greatly appreciated.
The problem here is that the "page" you linked to is in actual fact a personal user.
You can not "like" a user in the same way that
you can not add a page as a friend...
or "poke" an event...
or subscribe to a photo...
You'll gave to provide an actual page to be liked.
As you can see from the screenshot below taken from the link you provided, there is no like button to be found.
Only an "Add Friend" and "Subscribe" button. I'm not sure if converting your profile into a page is the way you want to go, but it is possible. You can learn how at this link.
Tried to add a facebook like button which worked ok earlier, I have installed a plugin for wordpress to display the correct thumbnail when its shared on timeline. The problem is when I refreshed the sites thumbnail image using facebooks lint/debug tool (http://developers.facebook.com/tools/debug) I am not unable to actually 'like' the site.
When I click it a pop asked me to sign in which is fine, but the 2nd pop up 'where you can type a message along with your like) closes itself when I click it, I have no idea what is causing this, anyone shared the same experience or have any idea what may be causing it? Or do I have to wait until Facebook scrapes the page?
This ended up working today after another refresh on facebooks URL debug tool, seems random.
I have a like/send button that I've set up on a customer's home page. I have it pointed at their facebook profile page so that when people like them either from facebook or on their homepage, it's always liking the same thing.
Anyway, I've used the fb social plugins page to create the fbxml, and I'm having a problem with the send button. The like button works wonderfully, but the send button doesn't want to cooperate.
First, I had the button set up using "http://www.facebook.com/AFEDEWA" as the link to like/send. However, with the button(s) configured that way, when you click on Send you get an error message that says "The page at ttp://www.facebook.com/AFEDEWA could not be reached because the server returned status code 200."
So I did some digging on the 'net, and found some info that seemed to indicate that maybe the send button didn't like the alias / page name. I tried putting in the page id instead, and when I do that I get a different error: "The page at ttp://www.facebook.com/profile.php?id=165721903513327 could not be reached."
(I removed the h in the front of the links in those messages because the board was complaining about too many links. But the actual error message has the http in full :) )
The link works either way if you c/p into your browser, and also works fine with the like button. It would appear that the send button has some issues? Maybe needs to handle redirects instead of returning a 200 OK message.... ?
Any thoughts would be greatly appreciated. If you want to see the like/send button in action, this is the website it's set up on: http://www.coolersecurityadvisors.com
thx!
After checking the buttons on the upper right, I found an issue. It seems like you can not Like/Send URL's of real Facebook Pages using the Like/Send button. Facebooks URL debugger always comes up with the error "Facebook can not crawl itself".
If you just want that people share a link to your Facebook Page, simply create a file on your server, implement the OpenGraph Tags you want to show up on Facebook (title, image, etc.) and output this in case the Facebook crawler is visiting this site, if it's not the Facebook crawler, redirect the user to https://www.facebook.com/AFEDEWA
Fix up the 8 warnings from https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.coolersecurityadvisors.com%2F and I think that might help solve the problem.
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.