Mastodon icon

Mastodon

Interact with Mastodon API

Overview

This node interacts with the Mastodon API to perform various operations related to Mastodon accounts, including unpinning an account. It is useful for automating account management tasks on Mastodon instances, such as unpinning a previously pinned account to update or change the pinned accounts list. For example, a user can automate the process of unpinning accounts they no longer want to highlight on their profile.

Use Case Examples

  1. Unpin a specific account on a Mastodon instance by providing the instance URL and the account ID to be unpinned.
  2. Automate the management of pinned accounts across multiple Mastodon instances by integrating this node into a workflow.

Properties

Name Meaning
Mastodon URL The URL of the Mastodon instance to connect to. This is required to specify which Mastodon server the API calls will be made to.
Account ID The ID of the account to be unpinned. This is required to identify which account should be unpinned on the Mastodon instance.

Output

JSON

  • json - The JSON response from the Mastodon API after unpinning the account, typically containing the updated account information or confirmation of the unpin action.

Dependencies

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

Troubleshooting

  • If the node throws an error stating the operation is not implemented, verify that the operation 'unpinAccount' is supported for the 'account' resource in the current version of the node.
  • Errors related to authentication usually indicate issues with the OAuth2 credentials; ensure the credentials are correctly configured and valid.
  • If the Mastodon URL is incorrect or the instance is unreachable, the node will fail to connect; verify the URL and network connectivity.
  • If the Account ID is invalid or does not exist on the specified Mastodon instance, the API call will fail; ensure the Account ID is correct.

Discussion