Media Children

Represents a collection of image and video Media on an album Media.

Creating

This operation is not supported.

Reading

GET /{media-id}/children

Get a collection of image and video Media on an album Media.

Requirements

TypeRequirement

Access Tokens

Instagram User

Permissions

instagram_graph_user_media

Request Syntax

GET https://graph.instagram.com/{media-id}/children
  ?access_token={access-token}

Query String Parameters

Include the following query string parameters to augment the request.

KeyValue

access_token
Required
String

The app user's Instagram User Access Token.

fields
Comma-separated list

A comma-separated list of Media fields you want returned by field-expansion for each Media node in the result set.

Response

A JSON-formatted object containing the data you requested.

{
  "data": [],
  "paging": {}
}

Response Contents

PropertyValue

data

An array of image and video Media on the album Media.

paging

An object containing paging cursors and next/previous data set retrievial URLs.

cURL Example

Request

curl -X GET \
  'https://graph.instagram.com/17896450804038745/children?access_token=IGQVJ...'

Response

{
  "data": [
    {
      "id": "17880997618081620"
    },
    {
      "id": "17871527143187462"
    }
  ],
  "paging": {
    "cursors": {
      "after": "MTAxN...",
      "before": "NDMyN..."
      },
    "previous": "https://graph.faceb...",
    "next": "https://graph.faceb..."
  }
}

Updating

This operation is not supported.

Deleting

This operation is not supported.