Represents an Instagram user profile.
App-scoped user IDs (ASIDs) have been introduced with API version 11.0. You may continue querying users by their raw user IDs or their equivalent ASIDs, however, version 11.0+ calls will receive ASIDs in response.
ASIDs will replace raw user IDs in approximately two years, when version 10.0 is deprecated, so we recommend that you begin mapping your app users to their equivalent ASIDs.
This operation is not supported.
GET /{user-id}
Get fields and edges on a User.
Instagram Legacy API User IDs are not supported.
Type | Requirement |
---|---|
|
GET https://graph.instagram.com/{api-version}/{user-id} ?fields={fields} &access_token={access-token}
Placeholder | Value |
---|---|
|
API version . |
|
App user's app-scoped user ID (version 11.0+) or raw user ID (all versions). |
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 User.
Field Name | Description |
---|---|
|
The User's account type. Can be |
|
The app user's app-scoped ID (version 11.0+) or raw user ID (version 10.0 and lower). |
|
The number of Media
on the User. This field requires the |
|
The User's username. |
You can request the following edges as path parameters or by using the fields
query string parameter.
A JSON-formatted object containing default and requested fields and edges .
{ "{field}":"{value}", ... }
curl -X GET \
'https://graph.instagram.com/ v21.0
/10218560180051171?fields=id,username&access_token=IGQVJ...'
{ "id": "17841405793187218", "username": "jayposiris" }
This operation is not supported.
This operation is not supported.