如何使用Postman客户端拨打Twitter API(How to make calls to Twitter API using Postman client)

系统教程 行业动态 更新时间:2024-06-14 16:57:17
如何使用Postman客户端拨打Twitter API(How to make calls to Twitter API using Postman client)

我遵循了创建新应用程序和获取使用者密钥,密钥对以及令牌访问详细信息所需的步骤。 现在我想使用Chrome邮件客户端拨打Twitter Rest API 。

我应该如何将客户密钥,秘密,令牌等细节传递给请求? 我试图通过它们作为标题,并试图通过在postman客户端中选择OAuth1.0选项来传递它们,但我收到错误:

{ "errors": [ { "code": 32, "message": "Could not authenticate you." } ] }

I have followed the steps required to create a new application and getting consumer key, secret pairs and also the token access details. Now I would like to make calls to Twitter Rest API, using chrome Postman client.

How should I pass the customer key, secret, token etc details to the request? I have tried to pass them as headers and also tried to pass them by selecting OAuth1.0 option in postman client but I am getting errors:

{ "errors": [ { "code": 32, "message": "Could not authenticate you." } ] }

最满意答案

我知道这是旧的,但如果有人仍然面临这个问题,下面的步骤为我工作:

在授权标签中,选择OAuth 1.0 输入您的消费者密钥,消费者机密,访问令牌和访问令牌密钥 启用“将参数添加到标题”和“自动添加参数” 发送请求

在这里输入图像描述

我希望有所帮助。

I know this is old, but in case anyone is still facing this issue, the following steps worked for me:

In Authorization tab, select OAuth 1.0 Enter your consumer key, consumer secret, access token and access token secret Enable “Add params to header” and “Auto add parameters” Send the request

enter image description here

I hope that helps.

更多推荐

本文发布于:2023-04-12 19:59:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/dzcp/9c558bc81019af352cd6fe90d9396c48.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何使用   客户端   Postman   Twitter   calls

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!