Send button returning error codes, like button works fine - facebook

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.

Related

Facebook like button disappeared

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

Facebook Page Tab Not Showing

Whats up guys,
So i'm trying to add a Tab to my facebook page, i followed all the instructions on developers.facebook.com/docs/pages/tabs
But when i click on the tab, it's not displaying anything. At first i thought it may have been the link so i tested it with paypal and it still shows up blank. I added it as a canvas and a page tab.
Here's the link: https://www.facebook.com/PersiaGrai/app/481278078749813/?ref=page_internal
Does anyone know where i may have went wrong?
Facebook loads apps into the iframe by submitting a hidden form with method=post.
Your URL answers o.k., if it is requested via GET – but for a POST request, it simply answers with a 404 Not Found. (So you will need to go investigate why now.)

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 not working

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.

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.