Mastodon icon

Mastodon

Interact with Mastodon API

Overview

This node interacts with the Mastodon API to perform various operations related to Mastodon resources. Specifically, for the 'Bookmarks' resource with the 'Remove Bookmark' operation, it removes a bookmark from a specified status on a Mastodon instance. This is useful for users who want to programmatically manage their bookmarks on Mastodon, such as removing saved posts they no longer want to keep bookmarked.

Use Case Examples

  1. A user wants to remove a bookmark from a specific status on their Mastodon account using an automated workflow.
  2. An application integrates with Mastodon to manage bookmarks, allowing users to add or remove bookmarks through the app interface.

Properties

Name Meaning
Mastodon URL The URL of the Mastodon instance to connect to, e.g., https://mastodon.social.
Status ID The ID of the status to remove from bookmarks.

Output

JSON

  • json - The JSON response from the Mastodon API after removing the bookmark, typically confirming the removal or providing the updated status information.

Dependencies

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

Troubleshooting

  • If the node throws an error stating the operation is not implemented, ensure the resource and operation names are correct and supported.
  • Authentication errors may occur if the OAuth2 credentials are invalid or expired; re-authenticate to resolve.
  • If the status ID is incorrect or does not exist, the API will fail to remove the bookmark; verify the status ID before running the node.

Links

Discussion