Mastodon icon

Mastodon

Interact with Mastodon API

Overview

This node interacts with the Mastodon API to manage accounts and their relationships. Specifically, the "Remove Account from Followers" operation under the "Account" resource allows you to remove a specified account from your followers list on a Mastodon instance.

Common scenarios where this node is beneficial include:

  • Managing your Mastodon followers by removing unwanted or spam accounts.
  • Automating follower management workflows in social media automation.
  • Integrating Mastodon account management into broader automation pipelines.

For example, you could use this node to automatically remove certain accounts from your followers based on specific criteria, such as inactivity or inappropriate content.

Properties

Name Meaning
Mastodon URL The URL of the Mastodon instance to connect to (e.g., https://mastodon.social).
Account ID The unique identifier of the account to be removed from your followers list.

Output

The output JSON contains the response from the Mastodon API after attempting to remove the specified account from your followers. This typically includes confirmation of the removal or details about the affected account.

No binary data output is involved in this operation.

Dependencies

  • Requires an API authentication token credential for the Mastodon instance.
  • The node needs the Mastodon instance URL to direct API requests correctly.
  • Proper permissions on the Mastodon account to manage followers are necessary.

Troubleshooting

  • Common Issues:

    • Invalid or missing Mastodon URL can cause connection failures.
    • Incorrect or non-existent Account ID will result in errors or no action.
    • Insufficient permissions on the authenticated account may prevent follower removal.
  • Error Messages:

    • "The operation "removeAccountFromFollowers" for resource "account" is not implemented!" indicates a misconfiguration or unsupported operation.
    • API errors returned from Mastodon (e.g., 401 Unauthorized, 404 Not Found) usually relate to authentication issues or invalid account IDs.
  • Resolutions:

    • Verify the Mastodon URL is correct and accessible.
    • Confirm the Account ID exists and is valid.
    • Ensure the API credentials have the required scopes/permissions.
    • Enable "Continue On Fail" in the node settings to handle errors gracefully during batch operations.

Links and References

Discussion