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 accounts, statuses, timelines, media, and more. Specifically, for the 'Account' resource with the 'Verify Credentials' operation, it verifies the credentials of a Mastodon account by connecting to the specified Mastodon instance URL. This is useful for confirming that the provided credentials are valid and the connection to the Mastodon instance is successful.

Use Case Examples

  1. Verifying user credentials before performing actions like posting statuses or managing account settings.
  2. Checking the validity of OAuth tokens for a Mastodon account.

Properties

Name Meaning
Mastodon URL The URL of the Mastodon instance to connect to for verifying credentials.

Output

JSON

  • json - The JSON response from the Mastodon API confirming the validity of the credentials or details about the account.

Dependencies

  • Requires an OAuth2 API credential for Mastodon authentication.

Troubleshooting

  • If the node throws an error stating the operation is not implemented, ensure the 'Verify Credentials' operation is supported for the 'Account' resource in the current node version.
  • Connection errors may occur if the Mastodon URL is incorrect or the instance is unreachable; verify the URL and network connectivity.
  • Authentication failures indicate invalid or expired OAuth tokens; re-authenticate or update credentials.

Links

Discussion