Hello. I’m calling GET users/show api from Postman and cannot pass authentication.
- Create a developer app.
a. Set Website url, do not enable sign in with twitter (i.e. no call back url)
b. Generate keys and tokens (2 consumer api and 2 access)
c. Set permission to read and write
- In postman
a. set authorization data to “Request Headers”, copy the 4 keys and tokens
b. send GET request https://api.twitter.com/1.1/users/show.json?screen_name=ivbojic
This resulted in code 32: Could not authenticate you.
Go back to developer app
a. enable sign in with Twitter
b. add call back url
c. change access presmission to Read, write, and direct messages
d. Re-generate keys and tokens (2 consumer api and 2 access)
a. update the re-generated keys
b. send GET request
Still cannot pass the authentication:
Error code 32: Could not authenticate you.
Note: signature,timestamp, nonce,version and realm are autogenerated generated by postman for empty values
Any idea what am I missing?