Mastodon icon

Mastodon

Interact with Mastodon API

Overview

This node interacts with the Mastodon API to perform various operations related to Mastodon accounts, statuses, timelines, media, polls, bookmarks, favourites, mutes, blocks, and more. Specifically, for the 'Account' resource and 'Get Account Statuses' operation, it retrieves the statuses (posts) of a specified Mastodon account. This is useful for scenarios where you want to fetch and analyze the posts made by a particular user on a Mastodon instance, such as monitoring social media activity or aggregating content for further processing.

Use Case Examples

  1. Fetch all statuses from a specific Mastodon account to analyze user engagement.
  2. Retrieve recent posts from an account to display on a custom dashboard.

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

Output

JSON

  • json - The JSON object representing the retrieved account statuses from 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 or empty responses.
  • Check that the OAuth2 credentials are properly configured and have the necessary permissions to access account data.
  • Common error: 'The operation "Get Account Statuses" for resource "Account" is not implemented!' indicates a misconfiguration or unsupported operation; verify the operation and resource names.

Discussion