I’m using the sharethis plugin for wordpress and I’m having some issues with my featured image not appearing when I share a post on facebook. I’m trying to override this by specifying an ‘st_image’ parameter in the HTML code settings on the options page. I’ve modified the facebook share button to the following:
The ShareThis widget tries to automatically pick the best image from the url you share , but sometimes our algorithm doesn’t pick it up for some reason or another.
Sharethis facebook button implements a direct post, meaning user is redirected to the website. Because of this, Facebook is responsible for crawling information from the page. They do this via meta tags. If these tags do exist on the page, Facebook will display that information in the post.
Facebook uses properties “description” and “title” in the meta tags.
WordPress has ways to put meta tags. Typically, this is done in the header.php template for the theme.