Published: March 31, 2022
A pretty common problem we have at Envano is open graph information being cached in Facebook. So, how do we solve this issue?
The Best Way to Clear Facebook’s Open Graph Cache
The easiest way to clear out Facebook’s open graph cache is to use their debugging tool.
Enter your URL of the page, hit ‘debug’ and then on the next page, hit ‘fetch new scrape information’ or ‘scrape again’.
Open Graph Images
Sometimes the open graph image won’t update. One workaround is to update the og:image value by either renaming the image or adding a query string to the end of its URL.
For instance, if this was the original og:image value:
- <meta property=”og:image” content=”https://www.envano.com/og-image.jpg”>
It would need to change to one of the following:
- <meta property=”og:image” content=”https://www.envano.com/og-image2.jpg“>
- <meta property=”og:image” content=”https://www.envano.com/og-image.jpg?2″>
The easiest way is to just add a unique query string to the end of the image url: og-image.jpg?2
However, your image filename may be generated automatically for you via a content management system (CMS) like WordPress, so adding a query string may not be possible. If that is the case, I would recommend just re-uploading a new image with a new filename.
Need help with Facebook’s Open Graph Cache? Let’s chat!