Twitter OAuth2 making requests

Job ID: 35604744

Budget: ₹1,500 – ₹12,500 INR

I have a nodejs application where I am using twitter oauth2 and have managed to get access token and refresh token for users. I now want to use these tokens and make POST requests to twitter API to follow another account, like or retweet a tweet on behalf of authenticated user. I have tried several methods and ways listed on official documentation and checked through forum but none seem to work for me. Help me use the access and refresh tokens along with my application credentials to successfully POST these requests.

PS: This is not a fake account boost project, all authenticated accounts are real users account and after their consent and they know how this application will use their account.
Related categories: Social Networking Node.js OAuth Twitter API