How to Refresh Open Graph Cache

Force social media platforms to update your cached Open Graph tags and see your changes immediately. Skip the wait with these direct debugging tools.

Updated December 2025 3 min read

Why is my old image still showing?

Social platforms scrape your URL once and cache the result (sometimes for up to 30 days) to save bandwidth. If you change your og:image or og:title, you must manually force the platforms to re-scrape your site.

Official Cache Clearing Tools

Facebook Sharing Debugger

Most aggressive caching (30+ days)

Enter your URL and specifically click the "Scrape Again" button to force a master refresh.

Open FB Debugger

LinkedIn Post Inspector

Auto-clears upon inspection

Simply entering your URL into the inspector instantly purges LinkedIn's 7-day cache globally.

Open LinkedIn Inspector

The "Query Parameter" Trick

Platforms like Discord, Slack, Twitter/X, and WhatsApp no longer have official debugging tools. To force them to fetch your new tags immediately, you must trick them into thinking it's a brand new URL by appending a dummy query parameter.

Instead of sharing:

https://yourwebsite.com/article

Share this instead:

https://yourwebsite.com/article?v=2

Twitter / X

The official Card Validator was shut down in 2023. Use the query parameter trick (?v=new) in the Tweet Composer.

Slack / Discord

They cache per exact-string match. Appending ?slack=clear instantly generates a fresh unfurl preview.

API Batch Automation

If you are deploying a site-wide rebrand and need to clear hundreds of URLs at once, you can hit the Facebook Graph API directly.

javascript
// Batch clear Facebook Open Graph cache via Node.js
const urlsToClear = ['https://mysite.com/1', 'https://mysite.com/2'];

for (const url of urlsToClear) {
  await fetch(`https://graph.facebook.com/?id=${encodeURIComponent(url)}&scrape=true`, {
    method: 'POST'
  });
  
  // Throttle to avoid rate limiting
  await new Promise(resolve => setTimeout(resolve, 1000));
}
console.log('Cache purging complete');

Test Your Changes Live

Verify your cache is actually cleared by previewing your URL across all platforms simultaneously.

Preview URL Now