Hi,
I have performed every step which is mentioned in document and check many solution in forum but i am received code 32 Could not authenticate you.

Same error i received from my Java application code and Postman. Even i have read,write,DM permission assigned to my app. Below is attached screenshot , Any help will be appreciated .

Image of my Java code

Thanks

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-dashboard or twitter-webhook-boilerplate-node), using Insomnia, or try using Twurl.

Thanks,
I fixed the issue

1 Like