Actions48
- Account Actions
- Authentication Actions
- Blocks Actions
- Bookmarks Actions
- Favourites Actions
- Featured Tags Actions
- Follow Requests Actions
- Media Actions
- Mutes Actions
- Notifications Actions
- Status Actions
- Timeline Actions
- Polls Actions
Overview
This node interacts with the Mastodon API to perform various operations related to Mastodon resources. Specifically, for the 'Polls' resource with the 'View Poll' operation, it retrieves detailed information about a specific poll on a Mastodon instance. This is useful for applications that need to display poll results or details from Mastodon posts, such as social media dashboards or analytics tools.
Use Case Examples
- Viewing poll details by providing the Mastodon instance URL and the poll ID to fetch the poll's current status and options.
- Integrating Mastodon poll data into a custom reporting or monitoring system.
Properties
| Name | Meaning |
|---|---|
| Mastodon URL | The URL of the Mastodon instance to connect to for API requests. |
| Poll ID | The unique identifier of the poll to retrieve details for. |
Output
JSON
json- The JSON object containing the poll details retrieved from the Mastodon API.
Dependencies
- Requires an OAuth2 API credential for Mastodon to authenticate requests.
Troubleshooting
- If the poll ID is invalid or does not exist, the node will throw an error indicating the poll could not be found.
- If the Mastodon URL is incorrect or the instance is unreachable, the node will fail to connect and return an error.
- Ensure the OAuth2 credentials are valid and have the necessary permissions to access poll data on the Mastodon instance.
Links
- Mastodon API Polls Documentation - Official Mastodon API documentation for poll-related endpoints.