Taking the green pill, as all the crowd is doing.
I have stuff to write about Mastodon, but for now, I am trying to figure something out — is there a way to extend the capability of the DS106 Daily Create (TDC) to include participation from Mastodon.
Needed steps would be:
- Create a Tooting account for the Daily Create
- Post a Toot when a new daily is published. This I already do from my blog with the ActivityPub plugin.
- Check via the Mastodon API for all replies to an account* ( as is done in Twitter), parse response for a #tdcxxx hashtag to associate with a given TDC.
This might be tricky since my blog posts to mastodon as
@firstname.lastname@example.org (because ActivityPub has made my blog a mini instance, right) but it seems associated with my account.
A small thing is being able to embed Toots into a WordPress post like tweets do (officially supported by WordPress oEmbeds)
Before even diving into the API, let’s see if I can render a Toot here, a relevant one posted today.
Yep, it looks like it works via this iframe (might need some tweaking on frame height):
<iframe src="https://mastodon.social/@cogdog/109286735332101397/embed" class="mastodon-embed" style="border: 0" width="100%" height="400" allowfullscreen="allowfullscreen"></iframe>
So there’s that. At least I can embed toots. I can see a possible small plugin to make it an added auto embed feature. Maybe.
Featured Image: This photo was posted Dec 7, 2017 with the future seeing (only now in hindsight) caption “You take the green pill, and twitter ends. You wake up in Mastodon and believe whatever you want to believe. You take the red pill, you stay in Twitterland, and I show you how deep the rabbit hole goes.”