Clear Facebook featured image cache so featured image shows with post url

Posted on Posted in Social Media

If you’ve had the issue where you post a link to your site on Facebook and it does not find your desired image, you’ve come to the right place. Just a few tips.

  1. you need a featured image on your post or page or FB tries to find the next best thing and it’s usually dead wrong.
  2. use Yoast SEO plugin so you can create a default social media snippet and preview it.
  3. use Facebook’s url debugger https://developers.facebook.com/tools/debug/sharing/
  4. Add

If you have no featured image, load one in your post or page. At minimum you should add one to your home page. Adding Yoast gives you this on each page and post:

Enter the info you want to display and upload the desired image. If you already have a featured image, it should get detected without adding it here. This feature can also be useful if you want your SM post image to be different than your post or page featured image.

The most frustrating part is the way that FB cache’s the images for extended periods of time if you test the url! All social media managers have had this experience. You go to post your url and FB can’t find your featured image or you forgot to add one. After you correct the situation and re-try your url on FB, it doesn’t update and won’t show your added image. This is because OG (Open Graph) caches the page as soon as it is used on FB (even if testing and even if you don’t confirm your post). That’s where the real secret of this article comes in handy.

Go to https://developers.facebook.com/tools/debug/sharing/ to test your url. Enter the url you want to test and click “Debug” to get a preview of your url as it would appear on FB.

You might notice that FB caches your pages for a long time. Before I reset it, the last scrape was over two weeks ago. Click the button for “Scrape Again” which is essentially the same as clearing your browser’s cache but for Facebook. Make your changes to the page or post then ‘Scrape again’ until you get the desired result. Repeat.