Instagram icon

Instagram

Publish media to Instagram using Facebook Graph API

Actions21

IG User → Get Media

AI-generated

Summary

Fetch media objects owned by a specified Instagram Business or Creator account, optionally returning all results or limiting the number of returned media items.

Inputs

  • Node (required) — The Instagram Business Account ID or User ID whose media to retrieve
  • Graph API Version (required) — Facebook Graph API version to use for the request (e.g., v22.0)
  • Return All — Whether to return all media results or limit the number returned
  • Limit — Maximum number of media items to return if Return All is false (minimum 1, maximum 500)

Output shape

a single JSON object containing a data array of media objects

Result pagination is handled internally; if Return All is true, up to 5000 media items are returned, otherwise up to the specified Limit (max 500). Each media object includes fields such as id, media_type, media_url, thumbnail_url, caption, permalink, timestamp, and username.

Examples

Example 1: Retrieve up to 100 media items for a user

Set Node to the target user ID, Graph API Version to v22.0, Return All to false, and Limit to 100.

Links

Discussion