OAuth Application-only auth bug or not?


#1

Hi,

I was trying to make a small test app to test the twitter api and i stumble upon the oauth.
Target: https://dev.twitter.com/oauth/application-only OAuth Application-only auth

The problem found is that at step 3 is saying: “To use the bearer token, construct a normal HTTPS request and include an Authorization header with the value of Bearer <base64 bearer token value from step 2>”, and if you actually encode the token in base64 and make the request you will get “Bad authentication data”.

To fix this you must use in the header the access_token as you receive it and it’s working.