The post image no longer appears when shared to Facebook

Posted in: Newspaper
Post count: 49

The post image no longer appears when shared to Facebook.

https://ibb.co/QcwCV3K

  • This topic was modified 1 year by Merkucio.
  • This topic was modified 1 year by Merkucio.
Post count: 49
Post count: 27744

Hi,

It is possible to have 503 only when robot is visiting the page. Try to simulate Facebook User Agent from your browser or rest client.

You can check Facebook user agents on developers facebook page: https://developers.facebook.com/docs/sharing/webmasters/crawler

Cloudflare could be the cause of your problem, because it blocks bad robots (Facebook should be good robot). Try to disable it and see if it works. If this is the problem, you need to contact Cloudflare support.
Also, please use the main if you have a child theme.

Thank you!

Post count: 49

Hello,

It is possible to have 503 only when robot is visiting the page. Try to simulate Facebook User Agent from your browser or rest client. You can check Facebook user agents on developers facebook page: https://developers.facebook.com/docs/sharing/webmasters/crawler

Sorry? It’s Chinese for me))

I changed the child theme to the main one. But it doesn’t help.
Regarding Cloudflare, I wrote to the Nitropack Cache Plugin support.
Waiting for a response.

  • This reply was modified 1 year by Merkucio.
  • This reply was modified 1 year by Merkucio.
  • This reply was modified 1 year by Merkucio.
  • This reply was modified 1 year by Merkucio.
Post count: 9544

Facebook sometimes has issues with capturing images. Nothing to do with the theme. If you look at the header source code for your post, and the og tag is there, and showing link to image, then as long as the image works, then FB can capture it. Sometimes they have caching issues; and the only solution is to do the post on FB, then come back and use the ‘refresh content’ option.

Also, good to learn some basics, like you can google “what is 503 error” to learn what that is.

(I don’t work here.)

Post count: 49

Thanks for your reply,

Sometimes – This is the key word. Sometimes but not always, during three two days and only for one site and not for all others.

Post count: 49

Hello,

Ok, I activated the main theme instead of child one.
I deactivated the Nitropack cache plugin and purged all cache.
This website uses the cheapest package of strato.de hosting. I don’t think they offer such option as clouflare. So Cloudflare can’t be the problem now.

What else?

Post count: 27744

Hello,

Do you use a seo plugin? Please also check, this guide https://forum.tagdiv.com/facebook-share/

Thank you!

Post count: 49

No, I don’t use any seo plugin. Yoast seo plugin is too heavy.

What I don’t understand is, why should I use this plugin If I didn’t need to use it, because your theme’s fb sharing option worked perfect with the images?

I don’t know why it doesn’t work right now, but it worked before, I remember.

  • This reply was modified 1 year by Merkucio.
Post count: 27744

Hi,

You need to use a plugin to add the meta tags og to work the share option.
You can use another plugin for SEO https://developers.facebook.com/docs/sharing/webmasters/images/ or use this code method 3 https://www.wpbeginner.com/wp-themes/how-to-add-facebook-open-graph-meta-data-in-wordpress-themes/

Thank you!

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.