Twitter API邮递员:代码32:无法对您进行身份验证 [英] Twitter API Postman: Code 32: Could not authenticate you
问题描述
我想将来测试某个应用程序的Twitter api.我试图用Postman进行测试,但是我一直都遇到这个错误.
I want to test the Twitter api for an app in the future. I was trying to test it with Postman but I get this error all the time.
代码":32,"message":无法验证您的身份."
"code": 32, "message": "Could not authenticate you."
我用开发者帐户制作了一个新应用,并将生成的所有令牌放入邮递员中,如下所示:
I made an new app from my developers account and put all the generated tokens into postman like this:
我的参数与以下屏幕截图相同:(带有正确的令牌)
My parameters are the same like this screenshot: (with the correct tokens)
我需要检查一些重要的东西吗?我希望有人已经遇到了这个问题,或者可以帮助我解决这个问题.
Do I need to check something important? I hope someone has already faced this problem or just can help me with this.
推荐答案
在邮递员的授权"标签下,从将授权数据添加到:"下拉列表中选择请求标头".
Under the "Authorization" tab in Postman, choose "Request Headers" from the "Add authorization data to:" drop down.
有用的参考资料: https://developer.twitter.com/en/docs/basics/authentication/guides/authorizing-a-request.html
这篇关于Twitter API邮递员:代码32:无法对您进行身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!