Here is a quick brain dump of how I manage social media for myself and for one of my clients.
I use Mastodon as my main platform.
Note: I do not host my own Mastodon instance. There are Mastodon users that have single-user instances on their own domain. Mastodon allows you to move your account to a different instance. I’ve done it once. (It’s not painless, but doable.)
My personal Mastodon account:
https://mas.to/@HalfHeartedFanatic
Mastodon automatically creates a public RSS of public posts:
https://mas.to/@HalfHeartedFanatic.rss
I use the RSS as a trigger for IFTTT applets that (depending on context) repost to Facebook, Flickr, Threads, Xitter, YouTube.
But there’s a problem…
The Mastodon RSS links directly to the original post on the Mastodon instance, such as this:
<link>https://mas.to/@HalfHeartedFanatic/116240599008521224</link>
If I want to link to a YouTube video, I don’ t want the user to have to visit my Mastodon post first and then click again to visit the YouTube URL.
So I’ve created a PHP script that rewrites the Mastodon RSS in various ways.
https://web.tedjohnson.us/feeds/mastodonRSS.php
In this example, it’s a “link post” and my script grabs the URL and places it in the <link> tag instead of the URL of the Mastodon post.
<link>https://youtu.be/T4Upf_B9RLQ</link>
Now IFFTT can parse the RSS post and repost it as a link post to the other networks. But my main platform remains Mastodon.
It’s a little more complicated
On social networks, there tend to be 4 kinds of posts: text posts, image posts, video posts, and link posts.
IFTTT can’t distinguish between the different kinds of posts. So my PHP script has URL arguments. Each argument filters out all other post types.
Link Posts
As I described above, when my post refers to a third-party URL, the applets use the argument type=link.
https://web.tedjohnson.us/feeds/mastodonRSS.php?type=link
Note: I use an IFTTT Pro account that allows posting to Xitter. I don’t pay for access to the Xitter API. (I suppose I do, indirectly.)
Image Posts
When the post is simply an uploaded image, the applets use the argument type=image.
The applets upload the image from the Mastodon <media>tag and post it to the networks.
Text Posts
Text posts are no problem. I don’t care if they link back to my Mastodon post.
Most complicated are…
Video Posts
When the argument is type=videothe video gets uploaded to Mastodon, and then IFTTT uploads the video only to YouTube. From there another IFTTT applet is triggered which posts the video (as a link) to the other networks. (IFTTT is unable to create video posts to the other networks I use. If I wanted to upload a video directly to Facebook, for example, this system does not work.)
Exclusions and other stuff
I don’t necessarily want these applets to trigger on every Mastodon post. The script only processes posts with the #HalfHeartedFanatic hashtag. So if I don’t want my Mastodon post distributed to the other networks, I leave that hashtag out.
In other words: I have to explicitly use that hashtag or the post will not be distributed.
The script does some other things. It can tell the difference between a link to a blog post and a link to a social profile or a hashtag. These tricks are beyond the scope of this topic.
Also: There are some networks that IFTTT just doesn’t do, such as Instagram and LinkedIn. I use a free Buffer account to post to Mastodon, LinkedIn, and Instagram, so I can do everything at once.
What do you think?
Is this the kind of sovereignty that some people and enterprises want? Or is it just an idiosyncratic way of doing things efficiently for my clients — particularly clients who wish to remain on corporate social networks.