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 'Favourite' operation in this context. It allows users to mark a status as a favourite on a specified Mastodon instance. This is useful for automating social media engagement tasks, such as favouriting posts programmatically based on certain triggers or workflows.

Use Case Examples

  1. Automatically favourite a status when it matches certain keywords.
  2. Favourite a status as part of a social media management workflow.

Properties

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

Output

JSON

  • json - The JSON response from the Mastodon API after favouriting the status, typically containing details of the favourited status.

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 exists on the specified Mastodon instance.
  • Check that the OAuth2 credentials are correctly configured and have the necessary permissions.
  • Common error: 'The operation "favourite" for resource "favourites" is not implemented!' indicates a missing or incorrect operation implementation; verify the operation name and resource.

Discussion