"code": 32, "message": "Could not authenticate you."


when iused the twitter apis it shown me could not authenticate you


If it is bad authentication (error 32) before it hits the webhook, then you should check to make sure that you have done the following. This information and more is located in our troubleshooting doc:

  1. you are using the proper auth keys that you pulled from the Twitter app that is designated as your AAAPI dev environment. Since this endpoint requires user auth, you will need to use both your consumer keys and access tokens.
  2. you have properly generated the oauth nonce , oauth_signature , and oauth_timestamp for your request.

If you have properly set up your Twitter app, then chances are that you aren’t handling number two properly. If so, please consider using an oauth library (example), one of our github repositories (account-activity-dashboardor twitter-webhook-boilerplate-node), using Insomnia, or try using Twurl.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.