Replied to Show conditional Twitter intents with Eleventy by Sia Karamalegos (sia.codes)

Encourage users to retweet or share a post based on whether a Tweet already exists for your blog post.

This reminds me that I had done a portion of this sort of work for my site a while back as a proof of concept and particularly with relation to Threaded conversations between WordPress and Twitter. I had meant to finish the sketch and turn it into a WordPress plugin or possibly roll it up into the Syndication Links plugin. Perhaps that makes sense as I’m already using it to show where I’ve syndicated copies of my content and it will contain the appropriate tweet ID data. Similar UI could be added for content sent to Flickr, Instagram, and Mastodon presuming the provide similar actions. Perhaps this will be a mini project I can circle back around to during the pending holidays?
I love how Sia has implemented it on her static Eleventy site where she’s kept the UI nice and clean. I particularly like the way she’s done the design and layout and made it more like a call to action.

To take the Twitter actions a half-step further, she could URL wrap the word “liked” with the like action on Twitter.
In general, this reminds me a lot of the idea of webactions, though I don’t think that many have been experimenting with them as of late. Perhaps it’s because of the growth of Microsub-based feed readers that have built-in Micropub support?
Hat-tip:

Encourage users to retweet or share a post based on whether a Tweet already exists for your blog post. By me! #webdev #webmentions @eleven_ty https://t.co/00YZWlrXJO
— Sia Karamalegos (@TheGreenGreek) November 26, 2019

https://platform.twitter.com/widgets.js

Respond via Twitter:
Reply
Repost
Like

https://platform.twitter.com/widgets.js

Syndicated copies to:
WordPress icon

Twitter icon