问题描述
我一直在这里遵循Instagram的基本指南
任何帮助或可能的提示将不胜感激,在此先感谢您!
我在这里
在将Postman用于Instagram的API时,应填写POST请求的 Body ,不 Parameters 下的必需信息.然后在体内,只需选择 x-www-form-irlencoded
I've been following Instagram's basic guides here https://developers.facebook.com/docs/instagram-basic-display-api/guides/getting-access-tokens-and-permissions
I added my personal Instagram account as a tester and I got the authorization code, but when I send the request to get the access token, this is my response:
{
"error_type": "OAuthException",
"code": 400,
"error_message": "Missing required field client_id"
}
This is my input in POSTMAN:
Any help or possible tips will greatly be appreciated, thanks in advance!
I found the solution to my own question here Impossible to get an access_token for Instagram Basic Display API
When using Postman for Instagram's API, you should fill out the info required under the POST request's Body, NOT the Parameters. And when in the body, just select x-www-form-irlencoded
这篇关于如何从Instagram API获取访问令牌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!