MSch / devise-twitter

Easy twitter integration for devise
MIT License
115 stars 16 forks source link

Receiving a 401 Unauthorized error #20

Open vrish88 opened 13 years ago

vrish88 commented 13 years ago

I'm encountering a 401 Unauthorized error when oauth tries to acquire a request token. I've been trying to figure out what the issue is for the past hour with no luck.

I've got my consumer_key and consumer_secret all setup in devise_twitter.rb. What else could I have wrong?

Thanks.

anildigital commented 13 years ago

I am facing same issue.

ghost commented 13 years ago

Also got this error.

freeatnet commented 13 years ago

Found that since I haven't provided a callback URL in the Twitter App settings (I'm currently developing on localhost), Twitter decided to revert my app's type to "client" from "browser", and was complaining that I wasn't giving it some of desktop-specific params. Providing something as simple as http://127.0.0.1:3000 for the callback URL worked.