Mastodon icon

Mastodon

Interact with Mastodon API

Overview

This node interacts with the Mastodon API to perform various operations related to Mastodon accounts. Specifically, the 'Get Account Following' operation retrieves the list of accounts that a specified Mastodon account is following. This is useful for social media management, analytics, or integration scenarios where you need to access and process the following relationships of a Mastodon user.

Use Case Examples

  1. Retrieve the list of accounts followed by a specific Mastodon user to analyze their social connections.
  2. Use the following list to automate interactions or notifications based on the accounts a user follows.

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 Mastodon account whose following list is to be retrieved.

Output

JSON

  • json - The JSON output contains the list of accounts that the specified account is following, with each account's details as provided by the Mastodon API.

Dependencies

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

Troubleshooting

  • Ensure the Mastodon URL is correct and accessible; incorrect URLs will cause connection failures.
  • Verify that the Account ID is valid and exists on the specified Mastodon instance; invalid IDs will result in errors.
  • Check that the OAuth2 credentials are properly configured and have the necessary permissions to access account following data.
  • Common error messages include 'The operation "Get Account Following" for resource "Account" is not implemented!' which indicates a misconfiguration or unsupported operation.
  • Network or authentication errors may occur if the Mastodon instance is down or credentials are invalid.

Discussion