I know there are many questions and articles about displaying post thumbnail (i.e. featured image) as a thumbnail for Facebook sharing but I'm still having trouble with it.
I'm using AddThis plugin for Wordpress and have a toolbox that shows FB share, Twitter share, G+, Digg, StumbleUpon. When I want to share through Facebook, the title and excerpt show correctly but the thumbnail image is not my featured image but the first image from the body of the post. I can choose an image to use as thumbnail inside a share window and that way use featured image as a thumbnail but I want the featured image to be the first one displayed without the option to change it to any other image from the post.
I tried everything I could think of - plugins that add Open Graph Tags, I tried adding OG Tags manually to head
, copy/pasted the tags from four or five different articles, used clear OG Tags and used them inside if
statements; I don't know what else to try.
Could you please tell me the exact code that I should put inside my head
tags so that when I share through Facebook, there is no option for choosing a thumbnail but that it always shows a thumbnail of a post.
Also, I know FB caches the images when a share request is sent, so I used a new post each time I tested the code.