Closed alvirbismonte closed 4 years ago
It turns out that I did not followed the 3-legged Oauth by twitter which is also indicated in the sample from the library.
I had been getting the same error at the redirection controller while using oauth 1
Received HTTP status code [401] with message "{"errors":[{"code":32,"message":"Could not authenticate you."}]}" when getting temporary credentials.
I found out that I had been using oauth 2 client id and client secret on my configuration. Please make sure you are using the credentials (API Key and Secret) from "Consumer Keys" on twitter app settings. The API Key and Secret under "Consumer Keys" are client id and client secret respectively for oauth 1.
I've used the twitter example in the repo and getting this error. The error also comes from this line.
I am able to get temporary credentials and able to get oauth token, but when I do use the returned token to fetch user details, I'm unable to fetch it thus the error.
I read an issue like this and they are referring to setting
isSecure: false
but I'm unable to find this in the package. Could you please help me. Thanks