Re: [twitter-dev] PHP OAuth app stopped working magically

2010-12-17 Thread Tom van der Woerdt
Make sure your OAuth library is up-to-date. Not having it up-to-date can 
cause a *lot* of issues.


Tom


On 12/17/10 7:34 PM, Nicolás López Zerpa 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 to https://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


Re: [twitter-dev] PHP OAuth app stopped working magically

2010-12-17 Thread Matt Harris
Hi Nicolás,

If you can share your basestring and signature we can take a look at what's
going wrong. Alternatively consider using a pre-written PHP library which
handles this for you. There are some PHP libraries listed on our developer
resources site which are popular with developers:
http://dev.twitter.com/pages/oauth_libraries#php

Best
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


2010/12/17 Nicolás López Zerpa nico89...@gmail.com

 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 to https://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


-- 
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