The ‘og:image’ property should be explicitly provided

#172944
  • Resolved ZY Chew
    Rank Math free

    All my page’s image is not showing up on Facebook sharing link after I change from Yoast SEO to Rank Math. Please help me troubleshoot the issue. I’ve read other’s tickets with the same issue but none of them seem to make sense to me.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting Rank Math today.
    The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.: This is just a warning, to get rid of it you must add a social sharing image in Rank math metabox under the social tab.

    There are a few reasons for the Facebook (or any other social network like WhatsApp) not picking your images and other social tags. We will list them below so you can check which one applies in your case:

    1. First and foremost, you must check the page source of the URL in question. Search for the og:image tag like in this Video:
    https://i.rankmath.com/aJCccE

    If the og:image tag is not found, that means Rank Math is either disabled or not able to print your social tags. Once done checking if Rank Math is enabled, you must check why it isn’t able to print social content by following this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Make sure to follow all the instructions carefully.

    2. Assuming the og:image tag was found in step 1, we can proceed to find the issue.

    Scenario 1: You are using minification on your website and your cache plugin is inputting too much inline CSS into your page source that your OpenGraph tags are pushed way too down your page’s source:
    turn off minification

    If this is the cache, you must move your inline CSS to a file because Facebook and other social networks will only look for OpenGraph tags in the first 60kbs of your page’s source. If they don’t find it, they will assume you haven’t added them. They don’t want to waste their resources crawling huge pages looking for OpenGraph tags.

    Scenario 2: The gain browser cache option in most cache plugins like W3 Total Cache is known to not play well with Facebook’s OpenGraph detection. If you have it enabled, disable it. The option for W3 Total Cache is at WP > Performance > Browser Cache > HTTP (gzip) compression
    w3 total turn off gzip compression

    Then, clear your website and server cache (including Cloudflare – if enabled)

    Once you are done, you might want to test again here:
    https://developers.facebook.com/tools/debug/

    Click the Scrape Again button:
    scarpe again facebook debug tool

    You should now see the OpenGraph tags update including the image.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Thank you.

    ZY Chew
    Rank Math free

    The og:image is available at the top of the source page, and the 2nd option does not apply to me

    Prabhat
    Rank Math agency

    Hello,

    Thanks for your reply.

    Could you please share some affected URLs in the sensitive data section of this ticket so that we can further investigate the issue?

    Looking forward to helping you.

    Thanks.

    ZY Chew
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thank you for that additional information, and sorry for the delay.

    I’ve tried checking your site using Facebook Debugger Tool, and it is showing a cURL error. I’ve attached the screenshot in the sensitive data section.

    Please get in touch with your web host as this issue seems to be coming from your website’s SSL.

    I hope that helps. Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.

    ZY Chew
    Rank Math free

    I checked with my host provider, it was enabled. And I recheck again, it seems to have resolved by itself. Thanks for your support so far.

    Hello,

    Glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)

The ticket ‘The ‘og:image’ property should be explicitly provided’ is closed to new replies.