Failed to get composer template data - facebook

Few of our websites like womens-health.com.my, mens-health.com.my, and elle.my having problem post any article to Facebook. When I test any URLs of these websites in Facebook Debugger, it gave me warning messages said that Failed to get composer template data. and Critical Errors That Must Be Fixed. I have no idea what causing this as other of our websites are working fine.

It's an actual Facebook bug, which is being fixed right now: https://developers.facebook.com/bugs/918385908182634/
In summary, you can fix this by making sure that article:author only contains Facebook user IDs or Facebook profile URLs.

Related

Facebook 404 file or directory not found

I have an e-commerce website and I want to share a link on my Facebook profile.
When I do I get a 404 - File or Directory not found even though the URL is working properly when you click on it. Below is what I see exactly:
I have tried:
To post the URL with https:// or without
https://developers.facebook.com/tools/debug/og/object
https://developers.facebook.com/tools/debug/sharing/
None of these solutions work!
The Sharing debugger shows this error:
But I don't understand how the error is legit since I have the parameters it's asking on my Page's Header tags.
What exactly is wrong?
I had the same problem at some point and the issue was that the team who manages our server had blocked the bots of Facebook and other search engines from entering our website and they forgot to undo this! Have a look if this is the reason in your occasion.

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 .

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 does not see my domain

I've been having issues recently with setting up links between Facebook and a website I've developed - www.newcarpromotions.co.uk. After some digging around, and advise on this forum, Ive used the following link to see what Facebook thinks of my domain:-
http://developers.facebook.com/tools/debug/og/object?q=newcarpromotions.co.uk
What it returns is as follows:-
"Error Parsing URL Error parsing input URL, no data was scraped"
Now Ive tried all my other domains which return all the correct information as you would expect.
Has anyone seen this before? It looks like Facebook doesn't think my domain exists! If that's the case any idea how I can get this resolved?
Nick
According to this post (Linter gives "Error parsing URL" error) it seems that the facebook object debugger can return that error if it fails to parse your page somehow. I'm suggesting that facebook can get to your website but is failing for a different reason. You may want to look at your request logs to verify that facebook is hitting your site.
If worse comes to worse you can open a bug here: http://bugs.developers.facebook.net/

Invalid Application ID: The provided Application ID is invalid on page with fbml

I've searched extensively but haven't found any good answers for this issue. We've got fbml working on our site but in some situations (like http://www.pbs.org/wgbh/pages/frontline/anthrax-files/) I also get a message saying Invalid Application ID: The provided Application ID is invalid - on occasion it even comes up twice.
I've run the pages through face book's lint already and made some changes. But I'm stumped - in particular because it doesn't always appear, only sometimes. Anyone have any insights as to what I'm doing wrong?
Thanks.
If anyone is looking for the answer to this: a variable I failed to disclose in this question is that we use Disqus on the pages in question. The Facebook Application ID that previously worked in Disqus stopped working suddenly. Swapping in a new Application ID authorized to the domain solved the issue.
If it helps, I got this error when using a "Like this on Facebook" widget with the wrong Facebook App ID. Unknown to me there was a different App ID in an og meta tag in the header and the two seemed to conflict with each other.