无法在 Twitter 应用程序中通过邮递员注册 webhook [英] Not able to register webhook via postman in twitter app
问题描述
我已经按照所有步骤创建了一个新的应用程序,并获取了消费者密钥、密钥和令牌详细信息,并尝试通过邮递员创建 webhook.我收到以下错误
<代码>{错误":[{代码":32,"message": "无法验证您的身份."}]}
我已经尝试过 webhook 的删除和获取方法,它工作正常.
他们可能在他们的例子中犯了错误.您只需要将 url
参数从查询字符串移动到表单数据.使用 x-www-form-urlencoded
主体.
此外 - 如果您将 nonce
和 timestamp
留空,Postman 会自动为您生成它们.
https://api.twitter.com/1.1/account_activity/all/prod/webhooks.json?url=https://test.com not working
I have followed all steps to create a new application and getting consumer key, secret keys and also token details and try to create webhook via postman. I am getting follwing error
{
"errors": [
{
"code": 32,
"message": "Could not authenticate you."
}
]
}
I have tried delete and get methods for webhook and it is working fine.
They probably goofed in their example. You just need to move the url
parameter from the query string to the form data. Use the x-www-form-urlencoded
body.
Also - if you leave the nonce
and timestamp
blank, then Postman will auto-generate them for you.
这篇关于无法在 Twitter 应用程序中通过邮递员注册 webhook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!