Facebook og:image Showing in Debugger but not on Facebook - facebook

When checking in the debugger, my image shows up fine and I even get the preview of 'When shared, this is what will be included'... but when I try to share the link on Facebook, the bit where the image should go is blank.
I see no kind of errors or warnings in the debugger though so I have no idea what could be wrong?
I've done this countless times in the past without issues, I don't recall this happening before. Could it be due to how this server / hosting is set up perhaps?

Related

Facebook Sharer has suddenly stopped working for me

I have a LAMP website which allows users to share a graph on Facebook. It was woking fine until May 1st but now whenever I try to share, I just get a grey box.
My site was using sharer.php to do the sharing and giving as the url a document which would generate a single graph, and in it's og:image and og:image:url tags I put a url which points to some code which generates an 800 x 400 png of the same graph. If I copy either url into a browser, they render exactly what I would expect, but if I post the same url to the Sharing Debugger tool, it gives me a blank image.
I have noticed that although clicking the Scrape Again button usually calls the url which renders the image as a png, every now and then it does not, but there is no indication as to why and the Scraped URL page shows exactly the page I would expect with the correct og:image tags.
I have tried changing from using sharer.php to the FB.ui 'share' method, but this has not fixed the issue.
I have also tried asking in the Facebook Developer Community but have had no response. I even tried to raise a bug with Facebook, but it won't let me.
This is driving me nuts. I just don't understand why it has suddenly stopped working. Have I missed something or has Facebook changed anything in the Sharer functionality? Is there any other way to debug this ?
Update: After a lot of tinkering I have found out that this only affects my account, and it affects anything I share on Facebook, not just things from my own site. Furthermore, it's only the preview of the shared page which is not working. What actually gets posted to Facebook is the correct image. I have tried multiple PC's and multiple browsers and it always fails even if I switch off all anti-virus/anti-malware/firewalls etc. Bizarrely, if I share from my phone, it works!

Facebook Not Scraping URL Properly (Blocked URL) On Fresh URL's

I have started to experience a really strange problem with Facebook link scraping/caching which seems random in nature.
On brand new posts when I go to check: https://developers.facebook.com/tools/debug/ with my new URL I get a message saying 'Cannot scrape: URL blocked'
We have literally been sharing URL's to Facebook for YEARS with no problem whatsoever. All open graph tags are present and working fine.
What is really weird is if I just manually press the 'scrape again' button it grabs all the bits properly and says everything is fine. It's always just the first attempt.
I have also tried manually calling the scrap API instead of letting Facebook do it when someone shares the URL for the first time and still sometimes (not always) it returns empty (just 'id' and 'url' returned) indicating the URL was blocked.
What's going on here it's driving me mad? We are nowhere near our API limits if maybe that was the issue...
Why would it say blocked first go on the debug page then literally 2 seconds later you press 'scrape again' and it works fine.
Just to note sometimes when it says blocked it still shows maybe the image in the link preview but no title or description. It's like it's grabbed some tags but then given up. Very strange...
I have checked our access logs and I can see 'Facebot' accessing our site fine.
Hope someone can help, I am really hoping this is some weird Facebook bug as I can't see any change in our code base that would effect this.
Facebook does not return anything helpful when this happens even with the API. I have no way in contacting Facebook direct either. If we are somehow getting blocked I would love to know why and fix that issue. But it's impossible to debug at the moment.
Just to note I have 3 sites all running the same code base (WordPress environment). They are all experiencing this issue. All been running fine for many years.
Cheers
This was to do with rate limiting that was not visible in the Facebook APP dashboard. Helpful...
Full details here: https://developers.facebook.com/bugs/232343637174087/
Solution for your problem: You can use Facebook image button after adding link on Facebook news feed, like shown in iamge
second thing upload image on othe site and give the image path to your website and then put it on your news feed, you can get definitely positive result using this two methods.
also refer this image
thanks hope this two will work for your problem

Facebook image not displayed in share

I'm trying to publish on FB a link of my wife-website.
The Open Graph Debugger says that everything is fine (there is og:image tag and the image is 1200x630).
But the image isnt' displayed in the post, even if I try to scrape again the page!
Please, help me!
Riccardo
This bug was confirmed by FB not so long ago...
see: https://developers.facebook.com/bugs/978421888869140/
I can confirm this issue also occurs on multiple sites I own. It began some time in the past 14 hours. The debugger is returning a valid output (but the post preview at the bottom is lacking the image).
My guess is that it is somehow related to the face that today (30/apr) they've forced all fb apps to migrate to sdk2.0.
I sure hope they're already working on a fix... but go figure :-/

Facebook post recently not showing image, og:image tags correct in debugger

Over the past few weeks we have been finding that facebook posts (not shares from the in-page FB button) have been failing to show the images tagged with og:image on our site. Our home page http://www.greatbritishchefs.com is an example. This seems to be a change in behaviour at Facebook's end because pages which were working a few weeks ago now do not. Also where a page is working currently, running it through the FB debugger causes it to immediately fail. Removing the og:image tag does not work. The images seem to be the right size, and the debugger results are free of errors regarding the image.
Would be grateful for help from anyone who is also experiencing this.
OK I found the resolution to this. What appears to have happened is that Facebook has become much more demanding about what kind of image urls it will work with in posts. The images on our site are sourced through a handler which preprocesses the image, putting a watermark on, resizing etc. and therefore the url might look like:
http://www.greatbritishchefs.com/getmedia/0ecdeb1f-c194-42a9-b465-012004a6cd99/AYW001-Website-Edited-Featured-Bacon-Breadsticks-Closeup/?width=420&height=270&ext=.jpg
This will now not work. For some reason, the url has to be completely vanilla without any query strings and with a standard image extension. When I rewrite the url for og:image to follow those rules, the images reappear in posts.
Hope this helps someone
James

Like button error - but not all pages

I have a Like button on my theatre pages. For example:
http://raleighlittletheatre.org/shows/11-12/crucible.html
Strangely many of them say the starter message (even though I know people that have Liked this page):
Be the first of your friends to recommend this.
When I click the Like button it reports an error "Error" and when I click it I get:
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 and fixing any errors.
I ran the linter, but there are no errors other than a warning that my image is too small.
A couple of other pages also have this error, although I'm sure they didn't use to. However this page does not have the error and I am using the same code on them (all via a CMS):
http://raleighlittletheatre.org/shows/11-12/firecracker.html
Clearly I created an error that affects some pages, but not others. Ideas?
Even stranger, if I log off Facebook then I see that 93 or 27 or some non-zero number of people (at least some of which I'm friends with, I'm certain) like these pages.