shimmie2 icon indicating copy to clipboard operation
shimmie2 copied to clipboard

Twitter Card Support

Open TheOpponent opened this issue 9 years ago • 2 comments

I looked at the source of the view page and noticed that some of the metatags needed for Twitter Card embedding of the "Summary with large image" type are already present, albeit as fallbacks using OpenGraph, namely og:title, og:image, and og:url. Using the Custom HTML Headers extension, I added tags for twitter:card, twitter:site, twitter:title, and og:description, which was enough to have tweets embed thumbnails when linking to a view page. Would it be possible to better integrate Twitter Card support by also adding the native Twitter metatags and possibly generating a second thumbnail closer to the 1 MB image limit?

TheOpponent avatar Oct 26 '15 16:10 TheOpponent

Relevant docs / validator:

https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/summary-card-with-large-image

https://cards-dev.twitter.com/validator

shish avatar Mar 22 '20 20:03 shish

I'm bumping this as I got a request from users today asking if I could make it so my shimmie install could display images better. Right now it displays like this

image

Instead of a small picture, it'd be nice if we could have a bigger one. :)

AxelTerizaki avatar Apr 28 '24 06:04 AxelTerizaki