Scripler / scripler

The Scripler web application source code repository
Do What The F*ck You Want To Public License
5 stars 1 forks source link

When publishing Scripler book on facebook, the current facebook image is cached and is impossible to change #1017

Open Abekonge opened 9 years ago

Abekonge commented 9 years ago

So when you make a new cover - facebook still uses the old version. Which is super annoying!

Allan suggests:

Ja jeg har også lagt mærke til det samme. Jeg kan ikke finde ud af at invalidere deres cache. Vi skal have oprettet et issue på at vi når vi genererer nyt billede skal appende den url vi skriver i html emta-tags til facebook med noget timestamp.

Altså i stedet for: <meta property="og:image" content="http://alpha.scripler.com/d/published/555e48c3550890b37880a2f0.jpg" />

skal vi skrive: <meta property="og:image" content="http://alpha.scripler.com/d/published/555e48c3550890b37880a2f0.jpg?876876876" />

This should only change the facebook image-url not the permanent url for the book...