1. I generate a user access token with Postman using your guide:

  2. I filled all fields and got an access token:

  3. Made a request and got status 401.

Where is my mistake?

I’m doing the same thing but I used “plain” in the code challenge method and I do not use the browser. I am getting Forbidden/403 instead of Unauthorized/401. I am on the Essential plan and what I want to do (follow a user) is supposed to be included in my plan.

Edit: I got it to work. It seems that if you want to follow/unfollow a user, you need the following permissions: tweet.read, users.read and follows.write… reference at Twitter API v2 authentication mapping | Docs | Twitter Developer Platform.

1 Like

So glad you got this working!

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