Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Preferences → Get User Preferences

AI-generated

Overview

This node interacts with the Mastodon API to retrieve user preferences from a specified Mastodon instance. It supports authentication via OAuth2 or an access token. This operation is useful for users who want to programmatically access and manage their Mastodon account preferences, such as notification settings or display options.

Use Case Examples

  1. A social media manager automates the retrieval of user preferences to customize notifications for different Mastodon accounts.
  2. A developer integrates Mastodon user preferences into a dashboard to monitor and adjust settings across multiple accounts.

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.

Output

JSON

  • json - The JSON object containing the user preferences retrieved from the Mastodon instance.

Dependencies

  • Requires Mastodon API credentials, either OAuth2 or an access token, to authenticate requests.

Troubleshooting

  • If the node throws an error about missing credentials, ensure that the correct Mastodon OAuth2 or Access Token credential is selected based on the chosen authentication type.
  • Authentication operations require OAuth2 credentials; selecting Access Token for authentication operations will cause an error.
  • If the Mastodon URL is incorrect or unreachable, the node will fail to connect and retrieve preferences.

Links

Discussion