The facebook debugger is giving 500 error - facebook

The facebook debugger is giving 500 error for your webpage. It is unable to get my og metatags values. However, og metatags are present in the web page:
http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fstaging.eco.ca%2Fcommunity%2Fblog%2F5-fascinating-green-jobs-youve-never-heard-of%2F68170%2F

Take a look at your IIS configuration. Something in there is refusing connections from anything that isn't a web browser.
Your page returns a 500 error for the W3C validator also.

For me it was because when Facebook, Google or other robots access the page, they don't send a language like a browser does, and in the code we were using the browser language to determine the content language.

I want to share my experience about this facebook debugger 500 error. I was getting this error without any explanation on facebook debugger. I checked my server side and domain records, tried what I found on internet with no luck. It took me long time to discover the problem.
Problem was I was sharing url within a restricted area in my website while sharing for first time. Let me explain, I have a test page in my cms, before I publish anything, I test if everything's ok. I realised whenever I test a content, facebook tries to crawl site, but it's in a restricted area. So I moved anything about facebook from my test page.

Related

400 error displayed when sharing page to facebook

When sharing page to Facebook from website the facebook share window reports that the page url is returning a 400 error and is not shareable. In contrast the Facebook debugger tool reports that the page is OK after rescraping.
I am expecting that since the url is displayed when requested, that sharing to Facebook would not be an issue.
Wondering if anyone has experienced this issue before and if so what was done to resolve the issue
Further details:
When using the facebook debugger tool and rescraping the page url it is reported that the page is OK. Regardless of the number of times that the page is scraped using the debugging tool subsequent shares to facebook from the site page fail with the same error.
Affected web page

Why is the Facebook scraper ignoring OG tags?

It's only happening on a handful of URLs. For example:
https://gateless.com/articles/generate-leads/happy-thanksgiving-to-all-115-million-american-households
Facebook Debugger:
https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fgateless.com%2Farticles%2Fgenerate-leads%2Fhappy-thanksgiving-to-all-115-million-american-households
But this one works great:
https://gateless.com/articles/generate-leads/your-blueprint-for-converting-inbound-leads
Facebook Debugger:
https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fgateless.com%2Farticles%2Fgenerate-leads%2Fyour-blueprint-for-converting-inbound-leads
Via DNS, this site is only accessible within the US.
It was the SSL certificate. We reissued one from within AWS and now the URLs scrape OK. Don't buy SSL certificates from GeoTrust.
The articles are throwing error:
This site can’t be reached
gateless.com’s server DNS address could not be found.
Since your site is inaccessible, the crawler is unable to fetch the data for og tags.
The second URL seems to be working as it is showing cached data.
You can click on "See exactly what our scraper sees for your URL" in the Debugger to see what content is being scraped.
In this case, the page is blank which is a good indication that the crawler is unable to see the content or your page is not returning the correct data that the crawler expects.

Bad HTTP Response code; Facebook likes don't post to facebook

I've created post-specific like buttons on my wordpress website. They appear to work on my site and record likers etc, but nothing posts to facebook. I've tried several wordpress plugins. and all gave the same result. Twitter is working just fine. Upon debugging in the facebook open graph, I get "Bad Response Code URL returned a bad HTTP response code." (more info in the debug link below). What am I missing? Thanks in advance!
The posts can be viewed at http://www.nebulusentertainment.com/news.
You can check out my attempt at debugging here:
https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.nebulusentertainment.com%2Fjust-around-the-corner
Despite the page URL loading in the browser, they are loading with a status code of 500 - Internal Server Error; which Facebook will reject. Since you are using PHP, the fastest solution may be to turn error reporting on, and display errors on. Or take a look at your logs to see what's causing the 500 error.
You can see that your page quits outputting code are about line 328, which looks like it may be an error in the wordpress theme files somewhere (maybe single.php?).
Hope this helps.
The other reason would be, Facebook cannot access your webpage. probably because of your DNS entries or your server is behind a firewall for example your company LAN. Solution: Fix your DNS or Firewall blockages and make sure public social medias like Facebook has access to your sites.
I had the same issue, but after I disabled my cache plugin "W3 Total Cache" everything worked fine .

Facebook scrape returns 502 error

I'm just trying to use standard link sharing using Facebook's sharer.php url. Here is a sample link:
https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fbsfurl.com%2FhTM9%2F2%2F2&t=Welcome!
I've been doing this successfully since 2009. Recently the Facebook sharer page seems to no longer be able to access my link to pull in images and a description. Using the Facebook Object debugger,
https://developers.facebook.com/tools/debug/og/
I see that every URL that i try returns a HTTP 502 error. Can someone help me understand why this is happening? Even a static HTML page returns this same error. Here is a screenshot of the error: http://images.publicaster.com/ImageLibrary/account116/images/facebookscrapeerror.png
Testing the URL in a browser works fine: http://stagingclick.publicaster.com/test.htm. this is just a static link no dynamic content, no redirects nothing. I'm a little at a loss of what i can do to fix this error. In my IIS logs i am not able to see the incoming request from Facebook's scraper.
Thanks!
-mark
The page you linked (http://stagingclick.publicaster.com/test.htm) is redirected (via the og:url tag) to http://www.nin.ja which doesn't resolve - are you sure there isn't a similar problem with the live links you're sharing?

Facebook Linter can't connect to site?

I'm getting a critical error when using the Facebook Linter to check og meta info.
Critical Errors That Must Be Fixed
Error Scraping Page: Can't Download
https://developers.facebook.com/tools/debug/og/object?q=theshinebox.com
The site/url work fine in a browser though...
I haven't checked this, but it looks to me like your og:url value is incorrect.
Facebook will actually GO to that address to get the canonical version of the page. And you've written the address without the Top Level Domain, so of course Facebook can't download from it.
David