Mastodon setup for social-post CLI
You need an account at a Mastodon server. The hostname of the server will go it the MASTODON_SERVER
environment variable. Note that it does not include any https://
prefix or /@...
suffix.
Once you have your account:
- Preferences
- Development
- New Application
- Fill in:
- Application name:
social-post CLI
- Application website:
https://social-post.marcuse.info/
- Redirect URI: don’t change (should default to
urn:ietf:wg:oauth:2.0:oob
) - Permissions: don’t change (should already include
read
andwrite
)
- Application name:
- Save
- Note the “Your access token” value. This goes in the
MASTODON_USER_TOKEN
environment variable.