Mastodon icon

Mastodon

Interact with Mastodon API

Overview

This node interacts with the Mastodon API to perform various operations related to Mastodon accounts, including pinning an account. It is useful for automating social media management tasks on Mastodon instances, such as pinning important accounts to highlight them. For example, a user can pin a specific account on their Mastodon instance to keep it prominently displayed.

Use Case Examples

  1. Pin an account on a Mastodon instance by providing the instance URL and the account ID to be pinned.
  2. Automate the management of Mastodon accounts by programmatically pinning or unpinning accounts.

Properties

Name Meaning
Mastodon URL URL of the Mastodon instance to connect to, required to specify which Mastodon server to interact with.
Account ID ID of the account to be pinned, required to identify the specific account on the Mastodon instance.

Output

JSON

  • json - The JSON response from the Mastodon API after performing the pin account operation, typically containing details about the pinned account or confirmation of the action.

Dependencies

  • Requires an OAuth2 API credential for Mastodon to authenticate API requests.

Troubleshooting

  • Common issues include providing an incorrect Mastodon instance URL or invalid account ID, which may result in API errors or failed operations.
  • If the operation is not implemented for the specified resource or operation, an error will be thrown indicating the unsupported operation.
  • Ensure that the OAuth2 credentials are correctly configured and have the necessary permissions to perform account pinning.

Discussion