Check and refresh the OG image cache on social platforms
Force Facebook, Messenger, Twitter/X, Telegram, Zalo and LinkedIn to re-scrape your Open Graph tags after a deploy so link previews show the new OG image, plus a standard meta tag checklist and fixes for images that do not show.
On this page
After you deploy OG (Open Graph) tags for a website, social platforms usually keep serving the old cached preview. This guide shows how to force each platform to re-scrape the page so the new OG image appears, with a standard meta tag checklist and the checks to run when the image still does not show.
Throughout, https://example.com/ is your website URL and og-image.png is your OG
image file - replace them with your real values.
Quick reference
| Platform | Tool | URL / how to use |
|---|---|---|
| Facebook / Messenger | Sharing Debugger | developers.facebook.com/tools/debug |
| Twitter / X | The post composer on X | Paste the URL into the composer on x.com to see the card (no need to post) |
| Telegram | Bot @webpagebot | Send the URL to the bot on Telegram |
| Zalo | No tool | Wait 24-48 hours or append ?v=2 to the URL |
| Post Inspector | linkedin.com/post-inspector |
The general flow:
- Paste the website URL into each platform's tool.
- Click Scrape / Debug / Inspect.
- Check that the preview image is now correct.
1. Facebook / Messenger
Facebook caches OG data aggressively. Use the Sharing Debugger to force a re-fetch.
- Open the Facebook Sharing Debugger.
- Paste the URL to check, for example
https://example.com/. - Click Debug.
- Look at the
og:imagerow - if it still shows the old image or is empty:- Click Scrape Again.
- Click it a second time to be safe (Facebook sometimes needs 2 scrapes to update).
- When the scrape finishes, check Link Preview at the bottom of the page to see the new image.
You need to be logged in with a Facebook Developer account to use this tool.
2. Twitter / X
X removed the preview from the Card Validator, so the most accurate check today is the post composer itself:
- Open x.com (or the X app) and start a new post.
- Paste the URL to check into the composer.
- Wait a few seconds - the card preview appears right below if the page has the required meta tags.
- Check the image in the card, then close the composer. You do not need to post.
A post that is already published keeps the card it had at posting time, even if you change the OG image later. Only new shares pick up the new metadata.
If the card still shows the old image:
- Submit the URL on the Card Validator page to ask X to re-crawl it. The page no longer shows a preview; it only triggers a re-crawl and shows the log.
- Or append a query string when you share the URL (for example
?v=2) so X treats it as a new URL, the same trick used for Zalo in section 4.
On top of the regular OG tags, X also requires the twitter:card and twitter:image meta
tags. See the example right below.
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://example.com/og-image.png" />3. Telegram
Telegram caches previews heavily, but it has a bot dedicated to clearing that cache.
- Open Telegram and find the bot @webpagebot.
- Send the bot the URL you want refreshed (example below).
- The bot re-fetches the HTML, clears the cache and replies with the new preview.
- Send the link again in any chat - the preview now shows the new image.
URL to send to the bot:
https://example.com/4. Zalo
Zalo has no public OG debug tool, and its cache is very sticky. What you can do:
- Wait it out: Zalo usually refreshes its cache after 24-48 hours.
- Bust the cache: add a query string to the URL when you send it (example below). Zalo treats it as a new URL and fetches the preview again.
- Each time you need a refresh, bump the version:
?v=3,?v=4...
URL with a query string:
https://example.com/?v=25. LinkedIn
- Open the LinkedIn Post Inspector.
- Paste the URL to check.
- Click Inspect.
- Check that the preview shows the right OG image.
- If it needs a refresh, click Inspect once more.
When the OG image still does not show after re-scraping
Work through these three checks in order.
Check the image format
Some older platforms do not support .webp. If you hit problems, convert to .png or
.jpg:
# Convert webp to png (requires the webp tools package, which provides dwebp)
dwebp og-image.webp -o og-image.png
# Or use ffmpeg
ffmpeg -i og-image.webp og-image.pngThen update the tag in your HTML:
<meta property="og:image" content="https://example.com/og-image.png" />Check the image size
Facebook recommends an OG image of at least 1200x630 pixels.
Check that the image URL is reachable
Paste the image URL straight into a browser and make sure it loads (no 404, not blocked by auth).
Standard OG tags checklist
<!-- Basic OG tags -->
<meta property="og:title" content="Page title" />
<meta property="og:description" content="Short description of the page" />
<meta property="og:image" content="https://example.com/og-image.png" />
<meta property="og:url" content="https://example.com/" />
<meta property="og:type" content="website" />
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Page title" />
<meta name="twitter:description" content="Short description of the page" />
<meta name="twitter:image" content="https://example.com/og-image.png" />Image format priority
Ordered by compatibility, best first:
- PNG - the most compatible across every platform.
- JPG/JPEG - well supported, smaller files.
- WebP - supported on Facebook, Twitter and LinkedIn (2024+), but some older platforms may not display it.
Troubleshooting
| Symptom | Fix |
|---|---|
| Facebook still shows the old image, or none, after Debug | Click Scrape Again twice in a row, then look at Link Preview again |
| The Sharing Debugger will not open | Log in with a Facebook Developer account first |
| Twitter / X shows no image in the card | Add the twitter:card and twitter:image meta tags on top of the OG tags, then paste the URL into the composer again to see the card |
| Twitter / X still shows the old card | Submit the URL on the Card Validator to make X re-crawl it, or share the URL with ?v=2; a post that is already published cannot change its card |
| Telegram still shows the old preview | Send the URL to the @webpagebot bot, then send the link again in a chat |
| Zalo still shows the old preview | Wait 24-48 hours, or append ?v=2 to the URL and bump the number each time you need a refresh |
| The image shows on no platform at all | Switch the image to .png / .jpg, make sure it is at least 1200x630 pixels, and confirm the image URL opens directly in a browser (no 404, not blocked by auth) |