Mastodon icon

Mastodon

Interact with Mastodon API

Overview

This node interacts with the Mastodon API to manage follow requests, specifically allowing users to reject follow requests on a Mastodon instance. It is useful for Mastodon administrators or users who want to control their followers by rejecting unwanted follow requests. For example, a user can specify the Mastodon instance URL and the account ID of the follower to reject their follow request.

Use Case Examples

  1. Reject a follow request from a specific account on a given Mastodon instance by providing the instance URL and the follower's account ID.
  2. Manage follow requests programmatically to automate follower moderation on Mastodon.

Properties

Name Meaning
Mastodon URL The URL of the Mastodon instance to connect to for managing follow requests.
Account ID The ID of the account requesting to follow, which will be rejected.

Output

JSON

  • json - The JSON response from the Mastodon API after rejecting the follow request, typically confirming the rejection or providing status information.

Dependencies

  • Requires an OAuth2 API credential for Mastodon to authenticate API requests.

Troubleshooting

  • Ensure the Mastodon URL is correct and accessible; incorrect URLs will cause connection failures.
  • Verify that the OAuth2 credentials are valid and have the necessary permissions to manage follow requests.
  • If the account ID is invalid or does not exist, the API will return an error; double-check the account ID before making the request.
  • Common error messages include 'The operation is not implemented' if the operation or resource is incorrectly specified, and authentication errors if credentials are missing or invalid.

Discussion