Mastodon icon

Mastodon

Interact with Mastodon API

Overview

This node interacts with the Mastodon API to perform various operations related to the 'Favourites' resource, specifically the 'Unfavourite' operation in this context. It allows users to remove a status from their favourites on a specified Mastodon instance. This is useful for managing liked content programmatically, such as unliking posts based on certain criteria or automating social media management tasks.

Use Case Examples

  1. Unfavouriting a specific status by its ID on a given Mastodon instance URL.
  2. Automating the removal of favourites from posts that no longer meet certain conditions.

Properties

Name Meaning
Mastodon URL The URL of the Mastodon instance to connect to for performing the unfavourite operation.
Status ID The ID of the status to be unfavourited on the Mastodon instance.

Output

JSON

  • json - The JSON response from the Mastodon API after unfavouriting the specified status, typically containing details of the updated status or confirmation of the action.

Dependencies

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

Troubleshooting

  • Ensure the Mastodon URL is correct and accessible.
  • Verify that the Status ID is valid and corresponds to a status that is currently favourited.
  • Check that the OAuth2 credentials are correctly configured and have the necessary permissions.
  • Common errors include 'operation not implemented' if the operation or resource is incorrectly specified, and API errors from Mastodon if the status ID is invalid or the user lacks permission.

Discussion