Get Access Tokens of Pages You Manage
This request uses a User Access Token to get a list of all the pages managed by a User. Make sure to choose one page from the list, copy the ID into the page_id variable, the access_token field into the page_access_token variable of the environment and the instagram_business_account field into the ig_user_id variable.
This new access token is a Page Access Token, which acts on behalf of a Page that is linked to an Instagram profile.
More available fields can be found here.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
fields | string | ||
access_token | string |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
User-Agent | string |
RESPONSES
status: OK
{"data":[{"name":"{page_name}","access_token":"{page_access_token}","instagram_business_account":{"id":"{ig_user_id}"},"id":"{page_id}","tasks":["ANALYZE","ADVERTISE","MESSAGING","MODERATE","CREATE_CONTENT","MANAGE"]}]}