Reputation: 23
I am trying to use this api https://www.postman.com/twitter/workspace/twitter-s-public-workspace/collection/9956214-784efcda-ed4c-4491-a4c0-a26470a67400?ctx=documentation
I forked it to my workspace and edited the variables using my access, bearer, consumer etc...
However when I try a sample by going to User Lookup > User by ID and I put the ID and press Send it says "title": "Unauthorized", "type": "about:blank", "status": 401, "detail": "Unauthorized"
I think the reason is because when I fork the twitter api to my workspace it doesn't fork over the two environments top right "Twitter API V2" and "Twitter Premium API" even though I am putting my token in the variables tab it shows the error above why?
Can someone show me how would you access the twitter api v2 public workspace above and be able to use it?
Upvotes: 1
Views: 680
Reputation: 11
You should set 'Twitter API V2' authorization bearer token.
Or set each api authorization.
If there is no environment setting, setting the Variables value also works.
Upvotes: 1