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:

  1. Create a Tooting account for the Daily Create
  2. Post a Toot when a new daily is published. This I already do from my blog with the ActivityPub plugin.
  3. Check via the Mastodon API for all replies to an account* ( as is done in Twitter), parse response for a hashtag to associate with a given TDC.

This might be tricky since my blog posts to mastodon as @topdog@cogdogblog.com (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):

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.”

The Twittermatrix Choice...
The Twittermatrix Choice… flickr photo by cogdogblog shared into the public domain using Creative Commons Public Domain Dedication (CC0)

If this kind of stuff has value, please support me by tossing a one time PayPal kibble or monthly on Patreon
Become a patron at Patreon!
Profile Picture for CogDog The Blog
An early 90s builder of web stuff and blogging Alan Levine barks at CogDogBlog.com on web storytelling (#ds106 #4life), photography, bending WordPress, and serendipity in the infinite internet river. He thinks it's weird to write about himself in the third person. And he is 100% into the Fediverse (or tells himself so) Tooting as @cogdog@cosocial.ca

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *