IN THIS ARTICLE
If you've ever run into a situation where you have updated your site's meta tags, but the Share Preview of your post is showing out of date/incorrect information, you may need to reset the cached images/data for your page(s) on the social networks.
More social networks 'cache' specific data about your posts when they are first shared to the platform. The social networks store this information for usually around 30 days (although this can vary). So if you've made significant changes to your metatags, you may need to instruct the social networks to reset their cached data for your pages and get the most up-to-date information.
This article will walk you through how to reset the link preview cache for various social networks.
Facebook has an excellent resource, the Facebook Sharing Debugger Tool that makes this quick and easy.
-
Enter your url and click on Debug
This will give you a snapshot of what exactly Facebook sees for that URL - the title, image, link, and much more (including the 'last scraped' date).
- To force Facebook to recrawl your page for updated information, click on the Scrape Again button.
Facebook will then recrawl your page, and you should see your updated data (like images and titles) being reflected.
- Now try sharing your url on Facebook again
To learn more about Facebook's Open Graph metatags, check out their official documentation.
- Visit https://developers.pinterest.com/tools/url-debugger/
- Enter your url and click on Validate. You will see the updated preview image.
- Now try sharing your url on Pinterest again
To learn more about Pinterest Rich Pins, visit the official documentation.
Twitter has the Twitter Card Validator. Use this tool to clear Twitter's link cache and re-acquire the data from your page, showing the most up-to-date information based on your current twitter:card meta tags.
- Visit https://cards-dev.twitter.com/validator
- Enter your url and click on Preview Card. You will see the updated preview image.
- Now try sharing your url on Twitter again
To learn more about Twitter's Twitter:Card Metatags, check out their official documentation. We also have an article with a brief overview on Twitter Cards in our Help Center here.
LinkedIn keeps the cached data from a shared post for 7 days from the first time the link is shared. You can use the LinkedIn Post Inspector tool to reset this cache.
- Visit https://www.linkedin.com/post-inspector/inspect/
- Enter your url and click on Inspect. You will see the updated preview image.
- Now try sharing your url on LinkedIn again
LinkedIn also uses the Open Graph metatags to determine what content to include in the shared preview of your post. You can learn more about the Open Graph tags in the official documentation.