User

Represents an Instagram user profile.

Creating

This operation is not supported.

Reading

GET /{user-id}

Get fields and edges on a User.

Requirements

TypeRequirement

Access Tokens

Instagram User

Permissions

instagram_graph_user_profile. The media_count field also requires instagram_graph_user_media.

Request Syntax

GET https://graph.instagram.com/{user-id}
  ?fields={fields}
  &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 fields and edges you want returned. If omitted, default fields will be returned.

Fields

You can use the fields query string parameter to request the following fields on a User.

Field NameDescription

account_type

The User's account type. Can be BUSINESS, CONSUMER, CREATOR.

id

The User's ID.

media_count

The number of Media on the User. This field requires the instagram_graph_user_media permission.

username

The User's username.

Edges

You can use request the following edges as path parameters or by using the fields query string parameter.

EdgeDescription

media

Get a list of Media on the User.

Response

A JSON-formatted object containing default and requested fields and edges.

{
  "{field}":"{value}",
  ...
}

cURL Example

Request

curl -X GET \
  'https://graph.instagram.com/17841405793187218?fields=id,username&access_token=IGQVJ...'

Response

{
  "id": "17841405793187218",
  "username": "jayposiris"
}

Updating

This operation is not supported.

Deleting

This operation is not supported.