Not able to register webhook via postman in twitter app

非 Y 不嫁゛ 提交于 2021-02-07 09:00:32

问题


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.


回答1:


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.

enter image description here



来源:https://stackoverflow.com/questions/55967837/not-able-to-register-webhook-via-postman-in-twitter-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!