Twitter Card via HTTP Headers


I, along with many people, use screenshot tools and upload them to web servers over SFTP to quickly, within seconds, share screenshots as the web address gets copied to our clipboard. It’s obviously extremely useful. While I could just upload them to something like img.ur, I don’t. I upload them to my own web server.


I was just thinking it would be cool to somehow enable Twitter cards for these images which get linked to directly, no web page.

Is there any way to enable Twitter photo cards other than meta tags? Perhaps HTTP headers?

If not, I guess I could pretty easily write something to rewrite URLs for Twitterbot user-agent and use the meta tags, but was just wonder.



Bump, would love this feature !