How to get twitter access token

nodejs

#1

I am getting error 401 while requesting access token. I am using node-auth lib(https://github.com/ciaranj/node-oauth) on serverless. I am successfully able to generate oauth_token and oauth_verifier but I am unable to get access token. I tried directly hitting api in postman.

Please let me know what am I doing wrong.


#2

Hi @kantharia - In Postman, try passing the oauth_verifier and oauth_token information in the Parameters section (Picture 1). You can leave the fields in the Headers section empty (Picture 2).

I hope this helps.

Picture 1:

Picture 2:


#3