Actions24
- User Actions
- Publish Actions
- Media Actions
- Comment Actions
- Messaging Actions
- Auth (Token) Actions
Media → Get Children
AI-generatedSummary
Fetches the child media items (slides) of an Instagram carousel album by media ID from graph.instagram.com and emits each child as a separate output item.
Inputs
- Media ID (required) — ID of the carousel (album) media whose children to list. Requests GET /{version}/{mediaId}/children.
- Children Fields — Comma-separated fields to request for each child. Default: id,media_type,media_url,thumbnail_url,permalink,timestamp.
- Graph API Version — graph.instagram.com API version used in the request path. Default v21.0.
- Access Token (Override) — Optional token used instead of the Instagram Login API credential. Supports expressions for per-item accounts. If empty, the credential is used.
Output shape
One output item per child media object, containing the requested fields. Each item is paired to its input item.
Only the first page of results is returned. The node doesn't follow pagination, though carousels are small. If the response has no data array, nothing is output for that input item. With Continue On Fail enabled, errors are emitted as {error: message}. Passing a non-carousel media ID will likely return an API error or no children.
Examples
Example 1: List the slides of a carousel post to download each image or video URL.
Resource: Media, Operation: Get Children, Media ID: the carousel's ID (e.g. {{ $json.id }}), Children Fields: id,media_type,media_url.
Example 2: Fetch carousel children for several accounts from input data.
Media ID: {{ $json.media_id }}, Access Token (Override): {{ $json.account_token }}, default fields.