SEO

X (formerly Twitter): refresh the share image (Card)

How do you refresh the preview or share image on X (formerly Twitter)?

The problem: I updated my site's meta tags, but my Tweet still shows the old image.

How can I refresh the X share image?

Twitter's crawler re-fetches the Card tag information on your page roughly every seven days.

When you're testing or iterating on Cards (share image), it can be useful to test updates in your timeline. You can use the following technique to refresh the cache with the latest changes to your share image.

  • Add the Card metadata to a page
  • Tweet the URL of that page
  • Refresh your browser to see the Card content in your timeline
  • Change the Card metadata on the page
  • Take the same URL and run it through bit.ly
  • Tweet the new bit.ly URL
  • Refresh your browser to see the updates

You can also create several bit.ly URLs so you can test again.
For example, adding a placeholder parameter value to the end of your URL (http://www.test.com/?x=test1) or a unique hashtag (http://www.test.com/#test1) generally won't affect the page content, but will generate a unique bit.ly URL for each unique value of x.

Have a web project in mind?

Website design, e-commerce or SEO: our web agency in Paris, Besançon and Normandy can help.

Free quote

Related articles