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:无法验证您的身份
基础教程推荐
- 如何从 logcat 中删除旧数据? 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
