How to use OAuth2 to authenticate with Twitter API?

Hi Guys,

I have been trying to make a Twitter API GET using the Twitter node library, however Twitter uses OAuth authentication which can only be done on the server side.

Can anyone recommend a simple article/tutorial on how to connect to the Twitter API using Node.js and Express.js?

I am currently using React for the front end and I cannot make client side requests.

Kind regards,


Hey, did U ever solve this? I am having issue getting it to work with Oauth 1. I need to make front-end only request, including posts, and cannot.