Unable to see preview on social sharing

#63266
  • Resolved Anonymous
    Rank Math free

    I’m unable to see preview of posts when sharing on social media. i need to fix open graph, please help me how to do it. I’m using additional plugin called “Open Graph and Twitter Card Tags” to try if it will help but still unable to see any change.

    For example: https://anywants.com/anti-aging-foods-for-your-glowing-skin/

    You can try to share this link or any link on website, it is not showing preview of post

    • This topic was modified 5 years, 1 month ago by .
    • This topic was modified 5 years, 1 month ago by .
Viewing 3 replies - 1 through 3 (of 3 total)
  • Alberto
    Rank Math business

    Hi,

    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:

    0. You have added the social meta using the Rank Math plugin. Please check this screencast:
    https://i.rankmath.com/neHI8w

    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 (in your case, it seems like it could be the cause, since you have 200 lines before the og tags):
    https://i.rankmath.com/y4WIgQ

    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
    https://i.rankmath.com/BbaiC6

    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:
    https://i.rankmath.com/A5z7WK

    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.

    Anonymous
    Rank Math free

    Hello, thank you so much for help, i moved inline CSS and now image and title is showing in preview, BUT description is not showing of the post, it is showing site’s description.

    Also, I’m using “Blog2Social plugin” for auto post to social networks, there in settings i have social meta data option where 3 things are checked:
    1. Add Open graph……………………..
    2. Add Twitter card………………..
    3. Add oEmbed tags

    Is it must to keep all these 3 things checked ? or only RankMath settings are enough ?

    • This reply was modified 5 years, 1 month ago by .

    Hello,

    Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.

    I have checked your URL and there seems to be duplicate opengraph data. Please check the attached screenshot in the sensitive section.

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Please let us know if you find the culprit.

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Looking forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Unable to see preview on social sharing’ is closed to new replies.