Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Polls → View Poll

AI-generated

Overview

This node interacts with the Mastodon API to view details of a specific poll. It is useful for retrieving poll information from a Mastodon instance, such as poll options, votes, and status. For example, it can be used to fetch poll results for analysis or display in an application.

Use Case Examples

  1. Retrieve poll details by providing the Mastodon instance URL and the poll ID to get current poll status and options.
  2. Use OAuth2 or Access Token authentication to securely access poll data from a Mastodon server.

Properties

Name Meaning
Mastodon URL URL of the Mastodon instance to connect to, used as the base URL for API requests.
Authentication Type Method to authenticate with the Mastodon instance, either OAuth2 or Access Token.
Poll ID ID of the poll to interact with, required to specify which poll to view.

Output

JSON

  • json - The JSON object containing the poll details retrieved from the Mastodon API.

Dependencies

  • Mastodon API credentials (OAuth2 or Access Token)

Troubleshooting

  • Ensure the correct Mastodon URL is provided and accessible.
  • Verify that the Poll ID is valid and exists on the Mastodon instance.
  • Check that the selected authentication type matches the provided credentials.
  • Common errors include authentication failures if credentials are missing or incorrect, and API errors if the poll ID is invalid or the resource is not found.

Discussion