Skip to main content
A Mastodon account has platform mastodon. It posts single posts and threads on the account’s own server, each with text, photos or a video.

Connect an account

A Mastodon account signs in on its own server. A connect link with provider mastodon also needs mastodon_instance, the server’s address, such as mastodon.social.

What you can post

  • A post with text, up to 4 photos, or one video.
  • A thread: each item of content is one post, sent as a reply to the one before.
  • A reply to any post, with in_reply_to_id, or a quote, with quoted_status_id.

Settings

Every key is optional. Create a post has the full list. visibility, spoiler_text, sensitive, language and quoted_status_id go on every post of a thread, not only the first.

Text

Each post takes 500 characters, even on a server that allows more. PostSyncer cuts a longer post to 500 when it’s sent. To keep every word, split the text into more items.

Media

  • A post carries photos or a video, not both. In a thread, each post has its own media under these rules.
  • Videos aren’t converted for Mastodon.
  • A file’s alt text, set in the app’s media library, goes with it, up to 420 characters.
  • PostSyncer doesn’t check a video’s length for Mastodon. The server’s own limits apply.

Threads and first comments

  • Each item after the first is posted as a reply to the one before. Each item has its own text and media.
  • A first comment (is_first_comment: true) is a reply at the end of the thread. With first_comment_delay 0 it goes out with the thread. With a delay (1 minute when you leave it out), it’s posted that many minutes later, under the thread’s last post.

Delete a post

Deleting the post in PostSyncer asks Mastodon to delete the first post. The rest of the thread and the first comment stay up. If the server refuses, the refusal is only logged: PostSyncer’s copy is deleted and the post stays live. See Test safely.

Comments

  • PostSyncer reads replies an hour after the post goes out, every 6 hours for its first day, then once a day until it’s 7 days old, and whenever you ask with Sync comments.
  • Replies go out from the account, with photos or a video.
  • Mastodon can’t hide replies: hide answers 422 with Mastodon can't hide comments. Delete the comment instead.
  • Delete removes a reply the account wrote, one sent from PostSyncer included. The server refuses to delete anyone else’s: the answer is still 200 Comment deleted successfully, and nothing changes.

Analytics

Mastodon gives likes (favourites), comments, shares (boosts) and quotes. It gives no impressions, so engagement_rate is null. See Read analytics.

Example

A draft post for followers only, with a content warning:

Connect social accounts

Connect links, with the Mastodon server.

Compare the 12 networks

How Mastodon differs from the other networks.