Hiya, I had a similar problem about the same time; it turned out that I had somehow been ignoring the oauth_verifier parameter that Twitter provides. I plugged it back in and hey presto, problem fixed!
...and then the next day I discovered that I wasn't checking to see if oauth_verifier was always passed - sometimes it isn't - so hopefully I've saved you one gotcha there ;-) Cheers, Tom. On Dec 17, 7:34 pm, Nicolás López Zerpa <nico89...@gmail.com> wrote: > Hello everyone. > About a month ago, I've added to our news website the feature to login > using Twitter. It uses OAuth to get the Twitter user data. > > However, since a few days ago, it doesn't work anymore. Nobody changed > that feature recently; when I want to sign in, I get an 401 error: > "Failed to validate oauth signature and token". The script fails when > it makes a request tohttps://api.twitter.com/oauth/request_token > > I've also made some little test with PHP OAuth classes I've found on > the Internet and I couldn't either make my app work. > > Please, let me know if you need more info, or if Twitter changed > something and I have to modify my app. > > Thanks in advance :) -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk