Mastodon icon

Mastodon

Interact with Mastodon API

Overview

This node interacts with the Mastodon API to perform various operations related to Mastodon accounts. Specifically, the 'Search Accounts' operation allows users to search for Mastodon accounts on a specified Mastodon instance using a query string. This is useful for finding users or accounts matching certain criteria on Mastodon, such as searching for people by name or interest. For example, a user can input a Mastodon instance URL, a search query like a username or keyword, and a limit on the number of results to retrieve accounts matching the query.

Use Case Examples

  1. Searching for accounts related to a specific topic or username on a Mastodon instance.
  2. Retrieving a list of accounts to follow or analyze from a Mastodon instance.

Properties

Name Meaning
Mastodon URL The URL of the Mastodon instance to connect to for searching accounts.
Query The search query string used to find accounts on the Mastodon instance.
Limit The maximum number of accounts to return from the search.

Output

JSON

  • json - The JSON output contains the search results, which are the accounts matching the query on the specified Mastodon instance.

Dependencies

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

Troubleshooting

  • If the Mastodon URL is incorrect or the instance is unreachable, the node will fail to connect.
  • If the query string is empty or invalid, the search may return no results or an error.
  • If the operation or resource is not implemented or incorrectly specified, an error will be thrown indicating the operation/resource is not implemented.

Discussion