Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Timeline → Get Hashtag Timeline

AI-generated

Overview

This node operation fetches the timeline of statuses associated with a specific hashtag from a Mastodon instance. It is useful for monitoring social media content tagged with particular hashtags, enabling users to track trends, gather insights, or engage with relevant posts. For example, a user can retrieve recent posts tagged with #technology to stay updated on tech discussions.

Use Case Examples

  1. Retrieve the latest 20 posts tagged with #news from a Mastodon instance.
  2. Filter hashtag timeline to show only local statuses with media attachments for #photography.

Properties

Name Meaning
Mastodon URL The URL of the Mastodon instance to connect to.
Authentication Type Method to authenticate with the Mastodon instance, either OAuth2 or Access Token.
Hashtag The hashtag to get the timeline for.
Local Only Show only local statuses in the timeline.
Remote Only Show only remote statuses in the timeline.
Media Only Show only statuses with media attachments.
Any Hashtags Return statuses that contain any of these additional tags.
All Hashtags Return statuses that contain all of these additional tags.
None Hashtags Return statuses that contain none of these additional tags.
Max ID Return results older than this ID.
Since ID Return results newer than this ID.
Min ID Return results immediately newer than this ID.
Limit Maximum number of results to return (up to 40).

Output

JSON

  • json
    • ``
      * id - Unique identifier of the status.
      * content - Content of the status.
      * created_at - Timestamp when the status was created.
      * account - Information about the account that posted the status.
      * media_attachments - Media attachments included in the status, if any.

Dependencies

  • Mastodon instance URL
  • OAuth2 credentials or Access Token for authentication

Troubleshooting

  • Ensure the Mastodon URL is correct and accessible.
  • Verify that the correct authentication type and credentials are provided.
  • Check that the hashtag parameter is not empty and properly formatted.
  • If the node returns an error about unsupported operations, confirm the resource and operation names are correct.

Discussion