Represents an image, video, or album.
This operation is not supported.
GET /{media-id}
Get Fields and Edges on an image, video, or album.
Type | Requirement |
---|---|
|
GET https://graph.instagram.com/{media-id} ?fields={fields} &access_token={access-token}
Include the following query string parameters to augment the request.
Key | Value |
---|---|
| The app user's Instagram User Access Token. |
| A comma-separated list of fields and edges you want returned. If omitted, default fields will be returned. |
You can use the fields
query string parameter to request the following fields on a Media.
Field Name | Description |
---|---|
| The Media's caption text. Not returnable for Media in albums. |
| The Media's ID. |
| The Media's type. Can be |
| The Media's URL. |
| The Media's permanent URL. Will be omitted if the Media contains copyrighted material, or has been flagged for a copyright violation. |
| The Media's thumbnail image URL. Only available on |
| The Media's publish date in ISO 8601 format. |
| The Media owner's username. |
You can request the following edges as path parameters or by using the fields
query string parameter.
Edge | Description |
---|---|
Get a list of Media on the Media album. Only available on |
A JSON-formatted object containing default and requested fields and edges.
{ "{field}":"{value}", ... }
curl -X GET \ 'https://graph.instagram.com/17895695668004550?fields=id,media_type,media_url,username,timestamp&access_token=IGQVJ...'
{ "id": "17895695668004550", "media_type": "IMAGE", "media_url": "https://fb-s-b-a.akamaihd.net/...", "username": "jayposiris" "timestamp": "2017-08-31T18:10:00+0000" }
This operation is not supported.
This operation is not supported.