Instagram icon

Instagram

Publish media to Instagram using Facebook Graph API

Actions21

IG Hashtag → Get Top Media

AI-generated

Summary

Retrieve the most popular media posts tagged with a specific Instagram hashtag using the Instagram Graph API.

Inputs

  • Node (required) — The Instagram Business Account ID or User ID performing the hashtag query, typically 'me' or an account ID.
  • Graph API Version (required) — Specify the Facebook Graph API version to use for the request, e.g., 'v22.0'.
  • Hashtag ID (required) — The Instagram Hashtag ID obtained from a previous hashtag search operation.
  • Return All — Toggle to return all top media results or limit the results to a specified maximum.
  • Limit — Maximum number of results to return when 'Return All' is false; valid range is 1 to 500, default is 50.

Output shape

a list of Instagram media objects tagged with the specified hashtag

Supports pagination and respects 'Return All' and 'Limit' parameters; each media object includes fields such as id, media_type, media_url, caption, permalink, timestamp, comments_count, and like_count. Errors are returned per item if the call fails.

Examples

Example 1: Fetch the top 50 most popular media posts tagged with a specific hashtag

Set Resource to IG Hashtag, Operation to Get Top Media, provide the node ID, Graph API version, and hashtag ID; leave Return All false and Limit at 50.

Links

Discussion