• Resolved alexaung

    (@alexaung)


    After we upgrade to latest version, post share on page book does not load featured image. I have even add manually add the image and description in SEO->Social tap.

    When I use Facebook share debug, got the following error -:

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

    Regards,
    Alex

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Suwash

    (@suascat_wp)

    Hi @alexaung

    We took a closer look at the page source of https://www.etakatho.com/courses/common-english-idioms/

    We noticed inline-CSS being outputted on the large part (beginning) of the source code of the given page.

    Unfortunately, this is something that is occurring because either your theme or another plugin is outputting all of the CSS code into the source code of the page. This is causing the Yoast SEO (which is being correctly outputted), to be displaced to the bottom of the page.

    When this happens, Facebook downloads only part of the page code and if it cannot find the necessary data in the first few lines, it causes the problem you are seeing. See exactly what our scraper sees for your URL. You can see Facebook is unable to locate OpenGraph information although it is being outputted on the source code. Unfortunately, this is something that cannot be controlled by the Yoast plugin.

    We highly recommend that you try to optimize this code by loading via the external CSS file. We expect this issue would resolve after this optimization. You might need to contact your theme developer or freelancer to make this necessary change.

    Thread Starter alexaung

    (@alexaung)

    It is happening because of Autoptimize plugin. it is working if I disabled it. The css you mention is added by Autoptimize. Is there any suggestion?

    Don’t “inline all CSS” Alex and all should be OK.

    Thread Starter alexaung

    (@alexaung)

    Ok we found out that it is because of “Inline all CSS?” in Autoptimize

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘image does not show when share on Facebook’ is closed to new replies.