I have a website in Joomla hosted on my own vps. I have installed plugin for meta og, but share on facebook still give an 403 error. I've checked the facebook debugger, and it's like it can not resolve the url (bad http response).
Other tools for social analysis of the page show me the page and the meta correctly, and other social sharer like google+ work good. Only facebook sharer is broken.
I have tried with gzip on and off, but still 403 forbidden.
Someone know how can i make it work?
Thanks in advance!
Ok, I solved this: there was a mod_security rule (protocol violations) that was blocking the sharer of Facebook. If I remove that rule, facebook sharing is ok.
So, I am not an expert of mod_security, but I don't think it's good thing to remove completely a security rule.. Do you know if it is possible to write a specific exception?
Related
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.
If i like a page on my website. It is posted to facebook. The problem is when a second user clicks the like on facebook. They are taken to a 403 forbidden page.
likes on http://www.cmypictures.com/photos/index.html
result to
http://www.cmypictures.com/photos/index.html?fb_action_ids=10151367960904866&fb_action_types=og.likes&fb_source=timeline_og&action_object_map=%7B%2210151367960904866%22%3A10150286116634264%7D&action_type_map=%7B%2210151367960904866%22%3A%22og.likes%22%7D&action_ref_map=%5B%5D
i have noted that if i manually delete %3A"og.likes"%7D&action_ref_map=%5B%5D at the end of the link, the desired page is opened.
Why is facebook adding this code at the end and what can be done to avoid this? Just to mention I run my website on joomla.
Please help
Facebook adds this for referral purposes so you can see the data in /analytics. As mentioned by #igy you need to check your CMS as it is not handling the params properly.
I had the same issue, I contacted my hosting provider and submitted a ticket, I have no idea what they did to fix this but it was sorted out pretty quickly. Something in the link may have been blacklisted or some combination of the '.' and the lenght of the link might have caused the issue. Contact your hosting provider for a solution.
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.
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?
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