A “Damn! Facebook Shares The Wrong Image of My Post” Fix

posted in: Blog | 0

You’ve crafted your post carefully and publish it. But when you share it on Facebook, the image is wrong.

Here’s how to fix it.

In order for Facebook to use the right image, each post you’ve made, has to have the correct Facebook Open Graph Meta Tag. Example:

<meta property="og:image" content="http://www.yourdomain.com/image-name.jpg" />

Basically it’s a set of code that FB uses to identify the data to be used on their social share.

Luckily you don’t have to be a programmer to do this. If you use WordPress you can get this done easily by installing the WordPress SEO  plugin developed by Team Yoast. It makes your life easier.

If the plugin is activated, you’ll see below of each post, something like as shown in the picture.

Set a Facebook image by using yoast plugin

Note: sometimes even though you’ve already pick an image. FB still uses the wrong one.

To fix this go to https://developers.facebook.com/tools/debug/

Fill the URL of your post that you want to fix into the field “Enter a URL” and hit the Debug button.

Facebook debugger

On the next page you’ll see all the data that Facebook sees on your post. Hit the Fetch new scrape information button. If FB still does not pick the right image, hit the button again.

Fetch new scrape information

If after a couple of time FB still insist using the wrong image. It’s probably because of your caching. For example it could happen if you use plugin such as W3TC. All you have to do is go to the post, then on the admin bar above > click Performance > Purge From Cache.

Purge from cache

Remember, the steps are only for the W3TC plugin. Another cache plugin may has a different method of clearing the cache.

Hopefully you enjoy this small tip and happy blogging.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.