Mastodon icon

Mastodon

Interact with Mastodon API

Overview

This node interacts with the Mastodon API, allowing users to perform various operations on different Mastodon resources such as statuses, accounts, timelines, media, polls, bookmarks, and more. Specifically, for the 'Status' resource with the 'View Status' operation, it retrieves detailed information about a specific Mastodon status by its ID. This is useful for scenarios where you want to fetch and display the content, metadata, or context of a particular status from a Mastodon instance.

Use Case Examples

  1. Fetching a specific status by its ID to display its content and author information in a dashboard.
  2. Retrieving status details to analyze engagement metrics or content for moderation purposes.

Properties

Name Meaning
Mastodon URL URL of the Mastodon instance to connect to, e.g., https://mastodon.social.
Status ID ID of the status to view, used to specify which status to retrieve from the Mastodon instance.

Output

JSON

  • id - Unique identifier of the status.
  • content - The content/body of the status.
  • created_at - Timestamp when the status was created.
  • account - Information about the account that posted the status.
  • media_attachments - Any media attached to the status, such as images or videos.
  • reblogs_count - Number of times the status has been reblogged (boosted).
  • favourites_count - Number of times the status has been favorited (liked).
  • replies_count - Number of replies to the status.

Dependencies

  • Requires an OAuth2 API credential for Mastodon authentication to access the Mastodon instance.

Troubleshooting

  • If the node throws an error stating the operation is not implemented, verify that the 'View Status' operation is supported for the 'Status' resource and that the node is up to date.
  • Errors related to authentication usually indicate issues with the OAuth2 credentials; ensure the credentials are correctly configured and have the necessary permissions.
  • If the status ID is invalid or the status does not exist, the API will return an error; verify the status ID is correct and the Mastodon URL is reachable.

Links

  • Mastodon API - Statuses - Official Mastodon API documentation for status-related endpoints, including viewing a status.

Discussion