当我尝试接收来自Instagram.
我的access_token时,请执行以下请求
params = {
'client_id' : config.INSTAGRAM_APP_ID,
'client_secret' : config.INSTAGRAM_APP_SECRET_KEY,
'grant_type' : 'authorization_code',
'redirect_uri' : '`my localhost`',
'code' : code
}
r = requests.post('https://api.instagram.com/oauth/access_token', params = params)
Run Code Online (Sandbox Code Playgroud)
并收到错误:
{"code": 400, "error_type": "OAuthException", "error_message": "You must provide a client_id"}
Run Code Online (Sandbox Code Playgroud)
我该怎么办?