Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook error when pulling og:image

For whatever reason, the image that I'm trying to use when sharing a link on FB doesn't load. The exact error that's being given is this:

Provided og:image, could not be downloaded. This can happen due to several different reasons such as your server using unsupported content-encoding. The crawler accepts deflate and gzip content encodings.

I'm using an s3 bucket to hold my images, and as far as I'm concerned the bucket is public and I can load these images on any browser. I'm also adding the og:image, og:image:url, og:image:secure_url, og:image:height, og:image:width, and og:image:type to the meta tags, so as far as meta tags are concerned I think I've covered all grounds. Is there a particular setting that I should be adding? Thanks of any help

like image 719
NakakapagpabagabagHm Avatar asked May 25 '18 03:05

NakakapagpabagabagHm


People also ask

How do I view an image OG?

To view the OG image with Yoast standard, you'll need to share the page directly. Go back to Facebook, start a new post and then paste the URL. You should see the correctly sized image appear above the Facebook Description meta-tag.

Can OG image be PNG?

The OG Meta TagYou can use any standard image format, such as jpg or png.

What is OG image?

An open graph image or OG image is the image that appears when you post website or video content to your social accounts. It is part of an important group of meta tags that influence the performance of your content link on social media like Facebook, Linkedin, Pinterest and Twitter.

What does this mean the OG image property should be explicitly provided even if a value can be inferred from other tags?

Inferred Property The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags. If you do not have the Open Graph tags specified, then Facebook will only fill in the gaps for the image, title, and description.


1 Answers

For other people who end up here, I encountered this issue temporarily. The Facebook Sharing Debugger fetches images asynchronously and can give false 404s.

I recommend scraping again a couple of times to confirm.

like image 148
LordParsley Avatar answered Sep 21 '22 19:09

LordParsley