How to Specify the Facebook “og:image” Tag in WordPress

How to Specify the Facebook “og:image” Tag in WordPress

Are you getting the wrong image when you share your WordPress post on Facebook? Or no picture at all? This is because you haven’t specified the right og:image tags. Using this simple snippet of code and a custom variable, you can now specify ANY image to show up when you share your post on Facebook – even if it doesn’t exist on your actual site!

How to Refresh the Post Image Shared on Facebook

How to Refresh the Post Image Shared on Facebook

Oh shoot – You forgot to add an image to your blog post and realized it only when you didn’t get a thumbnail on Facebook! Or you used the wrong image. So you go back and change the picture. Problem solved right? Not quite. Facebook still retains the old thumbnail information, so when you reshare your post, you still get the old thumbnail. But no worries! Here’s how to tell Facebook to crawl your site as if for the first time and get all the latest meta information.

Disclosure: We receive a compensation from some of the companies whose products or services are presented on our website.