How long og:image keep in Facebook cache? - facebook

I would like to know how much time are kept in cache images of the meta tag "og:image" ?
To be more precise: once the share posted on facebook (and so the image cached by Facebook), can I delete the image of my server?
Thank you

Related

Facebook caches og:image even after using cache buster parameter or changing image file name

I've shared a link on Facebook containing an og:image meta tag. Then I changed the content of og:image and posted the same link on Facebook again. Problem: Facebook is still showing the content of the og:image before it was changed.
There is no surprise that Facebook is caching the OpenGraph tags of the posts shared, but there should be a way to scrap the cache and re-fetch the content on-demand.
I have already tried a couple of approaches including:
Renaming the image referred to in the og:image every time it's changed.
Using a random value (cache buster parameter) at the end of the link that is posted.
Unfortunately, none of them have worked for me so far. Any suggestion is fully appreciated :)

Prevent Facebook Sharer See Multiple Images

I've add og metas to my web site. It works fine.
Only problem is, sharer sees another images too. But I want to show only 1 image. The image that I inserted with og meta.
How can I do that?
Could it be that Facebook has cached meta data from before you had your og meta data on your page? If so, rumor has it you can trigger a purge of their cash by linting the URL: https://developers.facebook.com/tools/debug/og/object/. YMMV

facebook share button not picking the og:image as the default selected image

I have used og:image tag with my facebook share button.
It is not picking the og:image as default selected image, whereas that is the same one as being shown in facebook debugger.
What could be the possible reason ?
It's possible a different image is being cached. I've read that if you review the page with Facebook URL Linter, it will reload the thumbnail images currently in the cache.
http://developers.facebook.com/tools/lint
The linter/debugger has an issue/bug. It will display the image as if it passed muster. However, it won't be displayed correctly in the shared news feed. I've seen this time and time again.

Like - Sharer.php ignoring image despite og meta

Despite the meta tags (the first one I never used before, but it came up in the addthis forums);
And the debug tool getting the data in a correct manner:
https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.mondiales.nl%2F
The facebook sharer code does not use the image specified. No images show up at all, there is no thumbnail chooser.
Looking at the HTML of the facebook sharer page, the image is actually there! The thumbnail chooser has a display:none. And when posting the damn thing, no image shows up on the wall.
Stop using addthis and implement a like function using the just the Facebook API? But from what I read, Facebook does a request for the page to get it's data so the JS part should not be the issue, should it?
Did I overlook something?
There's a restriction on the width/height ratio of images shared, the ratio must be less than 3.0
Your image is too wide (211/66 = 3.19) - add some vertical whitespace and it'll share OK i think
For future reference this is mentioned on both the old Share Button docs and the Open Graph protocol docs (under 'og:image')
I've found that once I've posted something to my wall from the sharer or the app, if I try to repost it, it will remember the original image (or no image in your case).
It might be worth clearing the whole cache/cookies from your browser and see if that does the trick.
If not, you'll find that if you log in as another user of Facebook and they try to post it, it will pick up on the new image on their account and not yours.
I'm not exactly sure how Facebook caches the images.
I know this thread is old but this may help someone else with the same issue. FB caches shared urls along with the thumb images and descriptions. To update the cache, add a bogus parameter to your shared query string, like, "?v=1". This gets the latest og tags.

How long is Facebook caching the sharing thumbnails?

How long is Facebook caching the sharing thumbnails? I've added a custom thumbnail for my page using:
<meta property="og:image" content="/path/to/my/image" />
But on pages my previous image is displayed => it is cached somewhere on FB servers.
Any ideas how to flush that cache or how long does it take once FB loads a new image?
Check the page with Facebook URL Linter, it seems to reload the thumbnails images in the cache.
http://developers.facebook.com/tools/lint
Facebook images are cached on a different servers on a different location. According to what I have read, it will take 3 to 5 years before the image is refresh/deleted permanently after the last time it was accessed. So if the image keeps being accessed it won't be flushed. Not until you give up on shutting down your site.
FYI the FB linter link above doesn't work anymore. This seems to do the trick though:
https://developers.facebook.com/tools/debug