This endpoint allows you to refresh long-lived Instagram User Access Tokens.
Long-lived access tokens for private Instagram accounts can now be refreshed. In addition, permissions granted to apps by app users with private accounts are now valid for 90 days.
This operation is not supported.
GET /refresh_access_token
Refresh a long-lived Instagram User Access Token that is at least 24 hours old but has not expired. Refreshed tokens are valid for 60 days from the date at which they are refreshed.
Type | Requirement |
---|---|
GET https://graph.instagram.com/refresh_access_token ?grant_type=ig_refresh_token &access_token={long-lived-access-token}
Include the following query string parameters to augment the request.
Key | Value |
---|---|
| Set this to |
| The valid (unexpired) long-lived Instagram User Access Token that you want to refresh. |
A JSON-formatted object containing the following properties and values.
{ "access_token": "{access-token}", "token_type": "{token-type}", "expires_in": {expires-in} }
Response Contents
Value Placeholder | Value |
---|---|
| A long-lived Instagram User Access Token. |
|
|
| The number of seconds until the long-lived token expires. |
curl -X GET \ 'https://graph.instagram.com/refresh_access_token?grant_type=ig_refresh_token&&access_token=F4RVB...'
{ "access_token": "c3oxd...", "token_type": "bearer", "expires_in": 5183944 }
This operation is not supported.
This operation is not supported.