LinkedIn's post inspector don't work on main page, only subpages - facebook

I have a website that is not showing some meta data when I share the url on some social media like LinkedIn and Facebook.
By inspecting the url on the LinkedIn's post inspector I get the following error:
We cannot display a preview for this URL.
Ingestion feedback Error: We encountered a server error while trying to inspect the URL.
URL redirect trail:
1 0 undefined <url>
By debugging it on the Facebook's Debugger, it gives the error: Curl Timeout: The request to scrape the URL timed out.
The thing is, if I inspect some subpages from this url, the error don't occur. But for some others it still does.
I've checked the meta tags on the main page and they are all there.
I've also tried the suggestion of this answer, but it didn't work.
And, finally, I've read things about ssl handshake but I didn't get how could I test it.
Anyone has nay idea of how to solve this issue?

Related

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.

Facebook debugger response code 302

looks like that facebook scraper cant detect my page, it says that the
response code is : 302
and when I click to see what scraper sees from my URL link, it says:
Document returned no data
I already have all the og meta tags along canonical URL link working fine, I guess it must be some redirection issue since the response code indicate it. it's the same error on my homepage and other pages.
because of this, I cant share any content of my website via sharing a URL on facebook.
I'd appreciate any help, thanks.

The facebook debugger is giving 500 error

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.

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 debug tool giving Bad Response Code (redirect) for my site

Today, I tried to post a link from my website on my wall, but no OG meta information was fetched. Therefore, I went on to Facebook URL Linter to check things for myself and see if OG meta tags are fetched properly.
To my surprise, every link on my website including the domain itself, generated Response code: 302.
My OG tags are well set and they were working fine a few days ago. Following is what the debugger shows for my domain : http://www.price-tag.org
Response Code: 302
Fetched URL: http://price-tag.org/
Canonical URL: http://price-tag.org/
Final URL: http://price-tag.org/WpjZW/
For every page from my website, facebook linter is adding an arbitrary string like above WpjZW.
Please let me know if this is a facebook error or something has gone wrong at my end.
It seems the linter is being sent on a circular redirect loop. It is seeing a 302 redirect.
For http://www.price-tag.org I don't see anything but a 200 response code when I navigate to your website using Firefox.
However, if I remove the www from the url and go to http://price-tag.org, I do see the strange behaviour of the 302s and then a random url like http://price-tag.org/UKXRN/
I would suggest you contact your server admin or web master to see what they have in place that is doing this 302 redirect and strange url characters.