You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 21, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 21, 2019. It is now read-only.
So one thing that I think would help, possibly, is if we fingerprint the sharing image. Right now that image doesn't get fingerprinted, which means that twitter probably thinks it never changes.
The other thing is, as mentioned, you end up putting in some kind of fake querystring when tweeting the link. TBH I don't really know if there's anything we can do about it in the CODE...it's more something that someone needs to do if they change their stuff.
Nope. It's something we would have to do in the code - it's the thing that lets you set super long caches on images, etc, because you do cache-busting on the images so their URL changes on each build. Anyway, when I said "fingerprint the sharing image", that's what I was referring to. So the image would be something like devopsdays.org/events/2017-ponyville/sharing123312613265.jpg instead of devopsdays.org/events/2017-ponyville/sharing.jpg.
Fundamentally, I don't think there's anything we can do about it. The annoying thing is that Twitter doesn't have a cache cleaner/debugger like Facebook does (you can force Facebook to clear their OG cache for a URL and fetch new images, etc, if you know you've changed something).
I would put this as of dubious value as we'd end up messing about with builds and caches and it could cause other issues.
Okay, here's a thought: is there a usable "preview how this will look when/if you tweet it" we could point people to (or build locally)? That way they'd at least have a shot at finding glaring errors before they tragically exist for a week.
Activity
mattstratton commentedon Apr 15, 2017
So one thing that I think would help, possibly, is if we fingerprint the sharing image. Right now that image doesn't get fingerprinted, which means that twitter probably thinks it never changes.
The other thing is, as mentioned, you end up putting in some kind of fake querystring when tweeting the link. TBH I don't really know if there's anything we can do about it in the CODE...it's more something that someone needs to do if they change their stuff.
bridgetkromhout commentedon Sep 5, 2018
By this, do you mean "tell people to add a timestamp manually"?
mattstratton commentedon Sep 5, 2018
Nope. It's something we would have to do in the code - it's the thing that lets you set super long caches on images, etc, because you do cache-busting on the images so their URL changes on each build. Anyway, when I said "fingerprint the sharing image", that's what I was referring to. So the image would be something like
devopsdays.org/events/2017-ponyville/sharing123312613265.jpginstead ofdevopsdays.org/events/2017-ponyville/sharing.jpg.Fundamentally, I don't think there's anything we can do about it. The annoying thing is that Twitter doesn't have a cache cleaner/debugger like Facebook does (you can force Facebook to clear their OG cache for a URL and fetch new images, etc, if you know you've changed something).
I would put this as of dubious value as we'd end up messing about with builds and caches and it could cause other issues.
bridgetkromhout commentedon Sep 5, 2018
Okay, here's a thought: is there a usable "preview how this will look when/if you tweet it" we could point people to (or build locally)? That way they'd at least have a shot at finding glaring errors before they tragically exist for a week.
mattstratton commentedon Sep 5, 2018
Well, if they’ve over-ridden it, it’s the image they put in themselves.
We could probably document what the url of the image would be, to make it easier to preview.
mattstratton commentedon Sep 5, 2018
Oh, this isn’t even about the image. This was about the description.
There’s not really anything we can do short of giving some web dev tips on maybe browser extensions that will show you what social tags look like?
bridgetkromhout commentedon Sep 5, 2018
Yeah, maybe a browser extension recommendation would be good.