Twitter API Postman: Code 32: Could not authenticate you(Twitter API 邮递员:代码 32:无法验证您的身份)
问题描述
我想在未来为某个应用测试 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.
推荐答案
在 Postman 的授权"选项卡下,从将授权数据添加到:"下拉列表中选择请求标头".
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:无法验证您的身份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!