Represents an Instagram Business Account or an Instagram Creator Account.
Throughout our documentation we use "Instagram User" and "Instagam Account" interchangeably. Both represent your app user's Instagram professional account.
Instagram API with Instagram Login | Instagram API with Facebook Login | |
---|---|---|
Access Tokens |
| |
Host URL |
|
|
Login Type | Business Login for Instagram | Facebook Login for Business |
Permissions |
|
If the app user was granted a role via the Business Manager on the Page connected to the targeted IG User, you will also need one of:
If you are requesting the
|
Not applicable. | If you are requesting the | |
Not applicable. | If you are requesting the |
This operation is not supported.
GET /<IG_USER_ID>
Get fields and edges on an Instagram Business or Creator Account.
If you are migrating from Marketing API Instagram Ads endpoints to Instagram Platform endpoints, be aware that some field names are different.
GET https://graph.facebook.com/<API_VERSION>/<IG_USER_ID> ?fields=<LIST_OF_FIELDS> &access_token=<ACCESS_TOKEN>
Placeholder | Value |
---|---|
| API version. |
| Required. IG User ID. |
Key | Placeholder | Value |
---|---|---|
|
| Required. App user's User access token. |
|
| Comma-separated list of IG User fields you want returned for each IG User in the result set. |
Public fields can be returned by an edge using field expansion.
Field Name | Description |
---|---|
| Descriptive text for images, for accessibility. |
| Profile bio text. |
| Total number of Instagram users following the user. |
| Total number of Instagram users the user follows. |
| Indicates whether your app user's Instagram professional account has a profile picture. |
| App-scoped User ID. |
| Indicates whether your app user's Instagram account is published |
| Your app user's Instagram ID that was created for Marketing API endpoints for v21.0 and older. |
| Total number of IG Media published on your app user's account. |
| Your app user's Instagram profile name. |
| Your app user's Instagram profile picture URL. |
| Returns |
| Your app user's Instagram profile username. |
| Your app user's website URL. |
Edge | Description |
---|---|
A list of businesses that can advertize for this Instagram professional account. | |
Ad accounts that can advertize for this Instagram professional account. | |
Get data about other Instagram Business or Instagram Creator IG Users. | |
Represents an IG User's current content publishing usage. | |
Represents social interaction metrics on an IG User. | |
Represents a collection of live video IG Media on an IG User. | |
Publish an IG Container on an Instagram Business IG User. | |
Create an IG Comment on an IG Comment or captioned IG Media that an IG User has been @mentioned in by another Instagram user. | |
Get data on an IG Comment in which an IG User has been @mentioned by another Instagram user. | |
Get data on an IG Media in which an IG User has been @mentioned in a caption by another Instagram user. | |
Get IG Hashtags that an IG User has searched for within the last 7 days. | |
Represents a collection of story IG Media objects on an IG User. | |
Represents a collection of IG Media in which an IG User has been tagged by another Instagram user. | |
A list of events this Instagram professional account is hosting. |
A JSON-formatted object containing default and requested fields and edges.
{ "<FIELD>":"<VALUE>", ... }
curl -X GET \
'https://graph.facebook.com/v22.0
/17841405822304914?fields=biography%2Cid%2Cusername%2Cwebsite&access_token=EAACwX...'
{ "biography": "Dino data crunching app", "id": "17841405822304914", "username": "metricsaurus", "website": "http://www.metricsaurus.com/" }
This operation is not supported.
This operation is not supported.