0

I know this is an old topic but I've digged dozens of related questions and solutions but neither of them works.

Some of questions I've read: Can't fix: 'og:image' property should be explicitly provided, even if a value can be inferred from other tags

Wordpress All In One SEO plugin not sharing to Facebook wall

My test url for facebook debug:

https://trangthietbiytehcm.com

Also, I debuged via Facebook sharing debug and Facebook Object debug

Here is Facebook Object debug:

Facebook Object debug result

Here is Facebook Sharing debug:

Facebook Sharing debug result

here is the post's head tab:

Head html

I also add that sometimes this post could be displayed well (including image thumbnail) on my facebook page but most of time it did not.

I've cleared my wordpress caches.

Absolutely, I can read the social opengraph tab on my post but facebook failed to read them. I do not know the reason behind this problem. Please help me to be clear! thanks

EDIT: This is a capture of the fact that sometimes Facebook receives my blog post well. And the post link is: https://trangthietbiytehcm.com/uncategorized/san-pham-test-lan-2/ And I wnat to add that the above test link (https://trangthietbiytehcm.com/uncategorized/bai-viet-mau/) also has the same fact as this

enter image description here

EDIT (UPDATE): After months of be frustrated with this problem, I even tested on another new web on new host server. I've finally found that the reason of this problem is the page cache function of the W3 total cache

Huynh
  • 392
  • 5
  • 16
  • This is what you are sending to Facebook: https://developers.facebook.com/tools/debug/echo/?q=https%3A%2F%2Ftrangthietbiytehcm.com%2Funcategorized%2Fbai-viet-mau%2F . Nothing – WizKid Jul 14 '19 at 15:59
  • I do not know why Facebook received nothing while my html head of that post includes exactly what Facebook OG requires. Do you have any ideas or guidelines for me to overcome this stack? – Huynh Jul 14 '19 at 16:14
  • @WizKid: I added some words to my question, hope to inform you and other experts more insight to help me. Thanks – Huynh Jul 14 '19 at 16:26
  • The problem is that your server is not sending anything back to Facebook – WizKid Jul 14 '19 at 16:28
  • Thank you, let me recheck again. I also add lazy load plugin in my site. I think I should try to deactive some plugins to see the impact. – Huynh Jul 14 '19 at 16:34

1 Answers1

0

We've found this issue to be related to W3 Total Cache, too. Specifically, it's the Wordpress Dashboard > Performance > Minify > Eliminate render-blocking CSS by moving it to HTTP body feature. What this does is shove all the CSS right after the tag, moving all the other header tags down.

And it seems Facebook (and Twitter?) only parse a fixed amount of the page before deciding to try and render... and if your CSS is long, well, it never sees your og:image tag (or any others, like Title, etc).

We have yet to find a good fix which still allows this feature to be used.