• Resolved saxi12345

    (@saxi12345)


    Hello guys, I am trying to solve this by my own for some time now. I am not able to find the the root cause. I am using Yoast SEO to optimize my pages and when I reavie the source code of my website on either home page or articles that we are creating, the FB share is always missing ANY data that are generated in teh OG properties by Yoast. I can see and confirm they are properly generated on the webpage, they are also visible in the source properly.

    If I try to run the Facebook Debug I am alwasy getting following error message:

    Inferred Property
    The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.

    Any ideas what am I missing here? I am worried it might be caused by some other plugin I am using? Or cahce? Sicne it looks like FB is loading very outdated info and re-scraping does not help.

    Thanks in advance for any hints. Cheers

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @saxi12345

    Thanks for reaching out about social sharing. I checked the page source and all the necessary Open Graph tags are present.

    Can you temporarily switch to a default WordPress theme such as Twenty Twenty and try the Facebook debugger again?

    Thread Starter saxi12345

    (@saxi12345)

    Hello @maybellyne

    Thank you for your answer. I tested it rigth now with Twenty Twenty-Three theme with the exactly same result ?? FB debugger is still showing:

    Inferred Property
    The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.

    Hey @saxi12345,

    Thank you for your reply.

    If you would temporarily disable the WP Super Cache plugin you are using, which is moving up a lot of CSS code up your <head> section, and then try to scrape again, does it work then?

    Thread Starter saxi12345

    (@saxi12345)

    Hi @jeroenrotty

    Thank you for your reply and this tip. I tried to do both, disabling the WP Super Cache plugin and trying Twenty Twenty-Three theme. In that case were OG properties properly identified by Facebook. It looks like it is the combination of things. It looks like the main problem is the theme itself, since once I changed the theme back to my ‘Sober’ theme, it was not working again. Should I try to contact the developers of the theme regarding this issue?

    PS: Do you recommend some other Caching plugin?

    Thanks in advance for your answer and thanks for the assistance! ??

    Hey @saxi12345,

    I believe the real issue might be Autoptimize on your site, which you have configured to put *all* CSS inline. This is a checkbox in one of the options of Autoptimize. Please have a look and disable that and check if it works for you with the theme you’re used to. Please know that using inline Critical CSS is fine, but all CSS is just too much. The code between lines 19 and 91 is huge, and Facebook and/or other platforms won’t scan so far in your code.

    Thread Starter saxi12345

    (@saxi12345)

    Hey @jeroenrotty,

    you are my hero! Thank you very much for your assistance with my issue. It was Autoptimize and my bad decision to ‘optimize’ CSS inline. I also learned something new ??

    That did the trick and I am able to scrape the OG properties properly now.

    Once again thanks for your help and patience with my case.

    • This reply was modified 2 years, 4 months ago by saxi12345. Reason: Forget to mark it as resolved

    So happy to hear that it’s sorted! Always happy to help.

    Have a great day!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Facebook is ignoring OG properties’ is closed to new replies.