![]() There are rate limits on things like toot deletion (30 deletions per 30 mins), so you'll also find that correcting mistakes made in prod can be problematic.īecause the bot is going to send toots, it needs to be able to authenticate with Mastodon. Note: If you can it's better to do development and testing against a non-federated development instance so that you don't annoy others. This should leave you with a bio that pretty clearly says "I'm a bot" (optional) tick Hide your social graph so that your bots followers aren't publicly listed.Make sure the account's bio is clear that it's a bot, what it does, and who to contact if it misbehaves.Log in and go to Preferences -> Profile -> Appearance before doing the following Once the account is created, you need to configure the profile. If you're on someone else's instance though, be aware that not all instances are willing to play host to bots, so check your instance's rules (usually available at If your instance doesn't allow bots, there is an instance ( botsin.space) dedicated to exactly this. ![]() ![]() If you're running your own Mastodon instance, there should be no issue in creating a bot account. The first thing that's needed is a dedicated account for people to follow. In this post, I'll walk through the process that I followed to create a simple python bot which periodically checks the RSS feed for my site and toots any new entries out, using a Content Warning where the page's tagset indicates that that's appropriate. Having recently set up a Mastodon instance I wanted to play around with using Mastodon's statuses API endpoint to create a simple bot that publishes toots.Īs well as letting me play around a little with the API, the bot provides a way for others to follow my content on Mastodon without necessarily having to follow me: Those who want to can follow and not be subjected to any of my idle chatter. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |