Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Account → Get Account Following

AI-generated

Overview

This node operation retrieves the list of accounts that a specified Mastodon account is following. It is useful for scenarios where you want to analyze or display the social connections of a Mastodon user, such as building follower graphs, monitoring user activity, or integrating Mastodon social data into other applications.

Use Case Examples

  1. Fetch the list of accounts followed by a specific Mastodon user to display on a dashboard.
  2. Analyze the following list of an account to recommend new accounts to follow.
  3. Monitor the following activity of an account for social media management.

Properties

Name Meaning
Mastodon URL The URL of the Mastodon instance to connect to, e.g., https://mastodon.social.
Authentication Type The method used to authenticate with the Mastodon instance, either OAuth2 or Access Token.
Account ID The unique identifier of the Mastodon account whose following list is to be retrieved.

Output

JSON

  • json
    • ``
      * id - The ID of each account that the specified account is following.
      * username - The username of each followed account.
      * display_name - The display name of each followed account.
      * acct - The account handle (username@instance) of each followed account.
      * url - The URL to the profile of each followed account.
      * avatar - The avatar image URL of each followed account.
      * header - The header image URL of each followed account.
      * note - The bio or note of each followed account.
      * followers_count - The number of followers each followed account has.
      * following_count - The number of accounts each followed account is following.

Dependencies

  • Mastodon API credentials (OAuth2 or Access Token)

Troubleshooting

  • Ensure the Mastodon URL is correct and accessible.
  • Verify that the provided Account ID is valid and exists on the Mastodon instance.
  • Check that the correct authentication type is selected and valid credentials are provided.
  • Common error: 'No Mastodon Access Token credential selected' or 'No Mastodon OAuth2 credential selected' indicates missing or misconfigured credentials.
  • If the operation is not implemented error occurs, verify that the resource and operation names are correct and supported by the node.

Discussion