Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

oEmbed → Fetch oEmbed Data

AI-generated

Overview

This node interacts with the Mastodon API to fetch oEmbed data for a given status URL. It is useful for retrieving embedded content information from Mastodon statuses, which can be used to display rich media previews or embed Mastodon posts in other applications or websites.

Use Case Examples

  1. Fetching oEmbed data for a specific Mastodon status URL to display a rich preview in a web application.
  2. Integrating Mastodon status embeds into a content management system by retrieving oEmbed data automatically.

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.
Status URL The URL of the Mastodon status to fetch oEmbed data for.

Output

JSON

  • json - The fetched oEmbed data for the specified Mastodon status URL.

Dependencies

  • Requires Mastodon API credentials, either OAuth2 or an access token, to authenticate requests.

Troubleshooting

  • Ensure that the correct authentication type is selected and the corresponding credentials are provided; OAuth2 credentials are required for authentication operations.
  • If the node throws an error about missing credentials, verify that the appropriate Mastodon API credentials are configured in n8n.
  • Errors indicating unimplemented operations or resources suggest a mismatch between the selected resource/operation and the node's capabilities.

Discussion