Instagram oauth api gives { “code”: 400, “error_type”: “OAuthException”, “error_message”: “No matching code found.” }

前端 未结 7 1492
孤独总比滥情好
孤独总比滥情好 2020-12-25 11:52

I am working on an application that integrates with Instagram API to access the user information. I successfully fetch the Access Token using the authorize url but unable to

相关标签:
7条回答
  • 2020-12-25 12:46

    Off late instagram python snippet fails due to missing content-type HTTP header

    response, content = http_object.request(url, method="POST", body=data,headers = {"Content-type": "application/x-www-form-urlencoded"})
    

    adding application/x-www-form-urlencoded worked for me

    0 讨论(0)
提交回复
热议问题