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:无法验证您的身份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Twitter API 邮递员:代码 32:无法验证您的身份


基础教程推荐
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01