Getting and Displaying a Mastodon Post in Client-Side JavaScript

from blog Raymond Camden, | ↗ original
I've got a few pages here that are primarily built for my own use. One of them, my bots page, is a list of all the dumbsuper useful bots I've built for Mastodon (and Bluesky). The idea on this page is to show the latest post from each bot. The bots page makes use of two different shortcodes written in Liquid to do this.The first uses the RSS feed...