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 Lists' operation retrieves the lists associated with a given Mastodon account. This is useful for users who want to manage or view the lists that an account belongs to or has created, such as for organizing followed accounts or content streams.

Use Case Examples

  1. Retrieve all lists for a specific Mastodon account to display or manage them in an external application.
  2. Use the account lists to filter or categorize content from a Mastodon instance.

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 lists are to be retrieved.

Output

JSON

  • json - The JSON response containing the lists associated with the specified Mastodon account.

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 or empty responses.
  • Check that the OAuth2 credentials are properly configured and have the necessary permissions to access account data.
  • Common error messages include 'The operation "Get Account Lists" for resource "Account" is not implemented!' which indicates a misconfiguration or unsupported operation, and network or authentication errors if credentials or URLs are incorrect.

Links

  • Mastodon API - Accounts - Official Mastodon API documentation for account-related endpoints, including retrieving account lists.

Discussion