You Are Here : Home » , » Fix Facebook Share Showing Wrong Thumbnails

Fix Facebook Share Showing Wrong Thumbnails

You may have noticed that sometimes Facebook share shows wrong thumbnails when you share your posts on Facebook. This problem is faced by many Bloggers and in many cases Facebook pulls the image that is totally not related to the post. You will need to solve this problem as it may not be good for your Facebook fans to get involved to your blog. The photo may be from your sidebar, your Google+ image thumbnail, blog logo and in rare cases the image can also be from the thumbnail of user who comments.

Fix Facebook Share Showing Wrong Thumbnails

To fix this issue you will have to use Facebook open graph meta data. You can learn more about meta data at how to use Facebook open graph meta data? With the help of Open graph, you can fully change the way your post is shared on Facebook.

If you are facing this issue while sharing your post on Facebook than solution can solve your issue. Just read this post carefully.
But before proceeding you will have to note few things, which are...
  1. Your post must contains an image which is of at least 200 pixels in height and width.
  2. You can host your image anywhere like photobucket, picasa etc.
Now lets solve the problem that causes the Facebook to show wrong thumbnail on sharing. We will first solve the issue for Blogger users.
  • Sign in to your Blogger account and choose the Blog in which you want to add the open graph data to show right thumbnail on share.
  • Now go to the Template from the Dashboard and than click on Edit HTML. You can see the image given below to know more.
Fix Facebook Share Showing Wrong Thumbnails
  • After clicking the Edit HTML button, you will see your Template codes. Just search for the following codes.
<b:include data='blog' name='all-head-content'/>
Note: To search, press anywhere in the Template codes and than press CTRL+F to open the search box. After that add the code which you want to search in your template and hit enter key.

Fix Facebook Share Showing Wrong Thumbnails

  •  Now add the following Facebook Open Graph Meta Data just after <b:include data='blog' name='all-head-content'/>. You can see the image given below.
Fix Facebook Share Showing Wrong Thumbnails
  • Add the code given below after the <b:include data='blog' name='all-head-content'/> tag.
<b:if cond='data:blog.postImageUrl'>
 <meta expr:content='data:blog.postImageUrl' property='og:image'/>
<b:else/>
 <meta content='PUT IMAGE URL HERE' property='og:image'/>
</b:if> 

Now you will have to put your alternate URL of the image in line 4. note that this image will appear on share only if the post doesn't contains any image. Also, make sure that the image size is above 200 x 200 px. You can add the image URL of your Blog logo or the image which most describes your blog.

Now if you aren't a Blogger user than you have add the above given open graph meta data inside the head section of your Website code or Template.
This changes will take on effect immediately next time you write and publish your post. And for your old post Facebook can take some time to refresh their cache. If you want to make the change immediately than you can use the Facebook Open Graph Debugger Tool.

That's All! I hope you solve your issue on Facebook share showing wrong thumbnails. Keep visiting for more spicy tweaks.

Ads by Google
If you enjoyed reading this article then please leave a comment or subscribe to our newsletter to get all the future posts delivered to your feed reader or you email desk.

No comments:

Leave a Reply

Welcome to SpicyTweaks.

Copyright © 2013-17 SpicyTweaks. All Rights Reserved.

Scroll to top