Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Follow Requests → Authorize Follow Request

AI-generated

Overview

This node operation authorizes a follow request on a Mastodon instance. It is useful in scenarios where a Mastodon user wants to approve pending follow requests from other users, allowing them to follow their account. For example, a user managing their Mastodon account can automate the approval of follow requests using this node.

Use Case Examples

  1. Automatically approve follow requests for a Mastodon account to streamline follower management.
  2. Use in a workflow to review and authorize follow requests based on custom criteria.

Properties

Name Meaning
Mastodon URL URL of the Mastodon instance to connect to, e.g., https://mastodon.social.
Authentication Type Method to authenticate with the Mastodon instance, either OAuth2 or Access Token.
Account ID The ID of the account requesting to follow, which is required to authorize the follow request.

Output

JSON

  • json - The JSON response from the Mastodon API after authorizing the follow request, typically containing details about the authorized follow request or confirmation of the action.

Dependencies

  • Requires Mastodon API credentials, either OAuth2 or Access Token, to authenticate requests.

Troubleshooting

  • Ensure the correct authentication type is selected; OAuth2 is required for some operations.
  • Verify that the Account ID is correctly provided and corresponds to a valid follow request.
  • Check that the Mastodon URL is correct and accessible.
  • Common errors include authentication failures due to missing or incorrect credentials, and invalid operation errors if the operation is not implemented for the resource.

Discussion