问题
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