Actions48
- Account Actions
- Authentication Actions
- Blocks Actions
- Bookmarks Actions
- Favourites Actions
- Featured Tags Actions
- Follow Requests Actions
- Media Actions
- Mutes Actions
- Notifications Actions
- Polls Actions
- Status Actions
- Timeline Actions
Overview
This node interacts with the Mastodon social network API, specifically handling follow requests in this context. The "Reject Follow Request" operation allows a user to reject an incoming follow request from another account on a Mastodon instance. This is useful for managing who can follow your account, especially if you want to deny certain users from following you.
Practical examples include:
- Automatically rejecting follow requests from specific accounts or under certain conditions.
- Integrating Mastodon follow request management into automated workflows, such as moderation bots or privacy controls.
Properties
| Name | Meaning |
|---|---|
| Mastodon URL | The URL of the Mastodon instance to connect to (e.g., https://mastodon.social). |
| Account ID | The ID of the account requesting to follow, whose follow request you want to reject. |
Output
The output JSON contains the response from the Mastodon API after attempting to reject the follow request. Typically, this will confirm whether the rejection was successful or provide details about the rejected request.
No binary data output is involved in this operation.
Dependencies
- Requires an API authentication token credential for the Mastodon instance.
- Needs the Mastodon instance URL to direct API calls correctly.
- The node depends on the Mastodon API being accessible and the authenticated user having permission to manage follow requests.
Troubleshooting
Common issues:
- Invalid or missing Mastodon instance URL may cause connection failures.
- Incorrect or expired API authentication tokens will result in authorization errors.
- Providing an invalid or non-existent Account ID will cause the operation to fail.
Error messages:
"The operation "reject" for resource "followRequests" is not implemented!"indicates a misconfiguration or unsupported operation.- Network or authentication errors typically indicate problems with credentials or instance accessibility.
Resolutions:
- Verify the Mastodon URL is correct and reachable.
- Ensure the API authentication token is valid and has necessary permissions.
- Confirm the Account ID corresponds to an actual pending follow request.