不支持此操作。
GET /refresh_access_token
刷新生成时间不少于 24 小时且并未过期的长期Instagram 用户访问口令。已刷新口令的有效期为:自刷新日起 60 天。
GET https://graph.instagram.com/refresh_access_token ?grant_type=ig_refresh_token &access_token={long-lived-access-token}
添加以下查询字符串参数以扩充请求。
键 | 值 |
---|---|
| 将其设置为 |
| 您希望刷新的有效(未过期)的长期Instagram 用户访问口令。 |
包含下列属性和值的 JSON 格式对象。
{ "access_token": "{access-token}", "token_type": "{token-type}", "expires_in": {expires-in} }
响应内容
值占位符 | 值 |
---|---|
| 长期 Instagram 用户访问口令。 |
|
|
| 此长期口令保持有效的秒数。 |
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 }
不支持此操作。
不支持此操作。