NYPL at Mastodon

Moving the NYPL Mastodon Bot

I wrote about Connecting NYPL Digital Collections API to Mastodon API in September, where I described developing a Mastodon bot that posts historical images of New York.

Changing instances

The instance (server) I chose to run it on was botsin.space as that was recommended and also came up in Google. However, the owner of that instances has decided to shut it down in next couple of months. Moreover, I have been thinking about migrating it to a more stable instance as that one has intermittent issues and the server was sometimes extremely slow.

I am (or my bot is) a Mastodon migrant! I have successfully migrated the bot to the largest instance running at Mastodon.social.

The migration requires just these three steps:

  1. Create an account with the new instance
  2. Set up an alias
  3. Confirm with redirection at the old instance

Your followers will be automatically migrated. However, no posts are migrated, which is rather a bummer and you have to start anew.

Migrating API details was easy. I just set up a new instance API key and changed both the instance and the Mastodon API token in the script config.


Have a comment? Join discussion on Mastodon as a reply to: @dusoft@fosstodon.org