Have you ever shared a link to your website on Twitter only to find that the image/graphic is the wrong one or out dated? This happens after updating the featured image or graphic on a web page, blog post or home page of a website. Like most social media platforms, Twitter “caches” a lot of the content, especially the featured image which is the primary image that shows up on a link share. If you ever change that image, say during the initial editing / publishing process (it happens to us often) then you’ll want to make sure that the most current image is available. This article shows you how to clear / update Twitter’s link cache.

How to Clear Twitter’s Cache

Example.

We recently updated the featured image for one of our portfolio websites, Argonaut Manufacturing. When this change occurs, sometimes social media platforms, like Twitter, won’t recognize the updated, new featured image. In the photo below, the old photo continued to show up in the Twitter feed when we shared the Argonaut URL.

To fix this, first step is to make sure that the post and/or website has been assigned the correct featured image. Depending on the platform you use (WordPress, Wix, Square Space, etc.) the area to add a featured image will differ. Once this is complete, you’ll want to copy the URL and take it over to get “validated”!

Twitter has a special website that will scrape and validate your URL to make sure it has the most recent and updated featured image: Twitter Card Validator Tool.

  1. Go to Twitter’s validator website
  2. Paste URL into space and click “preview card”
  3. See the new image* & information pop up!

NOTE: sometimes you have to validate 2 or 3 times to get the new image* or information to come up so don’t be afraid to try again.

Here is what the newly cached twitter preview should look like:

*Dealing with Images that won’t update

Sometimes images do not get cleared so you have to manually trigger an update. For this, you need to know the absolute URL of the image you’re dealing with. Depending on your site or theme, there are different ways to determine the URL. Most sites (like this one) will display the featured image at the top of the page or post so one trick is to hover over the image and Right Click > Open image in new tab. The featured image for this post is:

https://www.mitostudios.com/wp-content/uploads/2019/06/MITO-How-to-Clear-Twitter-Featured-Image-Cache-1500×1000-800×533.jpg

Once you have the image URL, you can “trick” the twitter validator tool by adding some extra parameter to the end of the url such as “?123” (minus the quotes) so you would enter:

https://www.mitostudios.com/wp-content/uploads/2019/06/MITO-How-to-Clear-Twitter-Featured-Image-Cache-1500×1000-800×533.jpg?123

Alternatively, you can rename or upload a completely new image to the page/post which will be a certain way to have a new image cached.

Do you need help with your website or online presence?

If so, contact us right away. We’d love to speak to you about helping with your website, social media or just overall online presence.