Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Suggestions → Get Suggestions

AI-generated

Overview

This node interacts with the Mastodon API to retrieve suggestions from a specified Mastodon instance. It supports authentication via OAuth2 or an access token and allows users to specify the Mastodon instance URL and limit the number of suggestions returned. This node is useful for applications that want to fetch recommended accounts or content suggestions from Mastodon for user engagement or content discovery.

Use Case Examples

  1. Fetching a list of suggested accounts to follow on a Mastodon instance.
  2. Retrieving content suggestions to display in a social media dashboard.

Properties

Name Meaning
Mastodon URL The URL of the Mastodon instance to connect to.
Authentication Type The method used to authenticate with the Mastodon instance, either OAuth2 or Access Token.
Limit Maximum number of suggestion results to return, with a maximum of 80.

Output

JSON

  • json - The JSON response containing the suggestions data returned from the Mastodon API.

Dependencies

  • Mastodon API credentials (OAuth2 or Access Token)

Troubleshooting

  • Ensure the correct Mastodon instance URL is provided and accessible.
  • Verify that the selected authentication type matches the provided credentials.
  • If using OAuth2, ensure the OAuth2 credentials are properly configured and authorized.
  • If using an access token, ensure the token is valid and has the necessary permissions.
  • Common errors include missing or invalid credentials, unsupported operations for the selected resource, and network connectivity issues.

Discussion