FB and Twitter OG image locations different

#31879
  • Resolved Michael Martin
    Rank Math free

    Hi all,

    I have been adding og images for FB/Twitter with RankMath > Edit Snippet > Social. From what I can see FB and Twitter are meant to access the same image. However, when I used the Twitter Card Validator and FB Debug to check they were different. I then checked View Source and they are looking at different images eg:

    view-source:https://reclaimdesign.org/vases-reclaimed-wood-stands.html

    FB: <meta property="og:image" content="https://reclaimdesign.org/wp-content/uploads/reclaim-design-og-vases.jpg">correct

    Twitter: <meta name="twitter:image" content="https://reclaimdesign.org/wp-content/uploads/test-tube-vases-sustainable-reclaimed-wood-stand1.jpg">incorrect

    How is this occurring?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Todd
    Rank Math free

    Hi Michael,

    Thanks for getting in touch with us.

    In your posts, this button must be unchecked:
    null

    That might be causing the images to be different for Facebook and Twitter.

    Please enable that option to use the same Facebook image for your Twitter as well.

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

    Hi Todd,

    Thanks for getting back to me. I don’t really understand that. Surely keeping the button checked is mean to result in Twitter using the same image as the one uploaded in the FB tab? I don’t want to upload different images for FB and Twitter since the image per page will be the same and related to that page, so makes no sense to bother uploading different ones (not to me at any rate).

    Todd
    Rank Math free

    Hi Michael,

    I was only assuming that it might be unchecked for you. By default, it is enabled and should be using your Facebook image.

    If the option is enabled and still Twitter is showing a different image than your Facebook tab – we would need to take a closer look.

    Have you tried the health check already?

    https://rankmath.com/kb/check-plugin-conflicts/

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

    Let us know how it goes.

    Hello,

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

    Thank you.

    Hello,

    Thank you for contacting Rank Math today.

    It looks like checking and unchecking the option to get data from the Facebook tab and resaving the page fixed it.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Thanks Michael. Is there a way I can fix this sitewide without having to individually go to each page and do that? I took a look at the About page source and it is still showing incorrectly.

    Todd
    Rank Math free

    Hi Michael,

    I think you might have imported SEO data along with the OG tags from a previous plugin.

    Because, when I just tried adding a new post and uploaded a sample featured image – the same image showed up in og:image as well as twitter:image tags.

    I have left the post in drafts for you to check.

    Thank you.

    Hi Todd, Which posts are you referring to?

    I have not used any other SEO plugin. Only RankMath.

    I uploaded the og image using the RankMath mechanism on every single page.

    Todd
    Rank Math free

    Hi Michael,

    I created a draft post. It is in WP Dashboard > Posts > All Posts.

    You seem to have changed your password so we cannot check further.

    Thank 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 10 replies - 1 through 10 (of 10 total)

The ticket ‘FB and Twitter OG image locations different’ is closed to new replies.