Hello, Sorry for being late.

Here is the signature base string:
GET&https%3A%2F%2Fapi.twitter.com%2Foauth
%2Frequest_token&oauth_consumer_key%3Dir4GfsoPEjUNHWD1fpevgA
%26oauth_nonce
%3D9e61a75246ee4c0195f4c75c4ad53943%26oauth_signature_method%3DHMAC-
SHA1%26oauth_timestamp%3D1294056882%26oauth_version%3D1.0

And this is the Authorization HTTP Header with the signature:
Authorization: OAuth
oauth_version="1.0",oauth_consumer_key="ir4GfsoPEjUNHWD1fpevgA",oauth_timestamp="1294056882",oauth_nonce="9e61a75246ee4c0195f4c75c4ad53943",oauth_signature_method="HMAC-
SHA1",oauth_signature="r8Fq9Lr9FUAgBtzgndIF6oXJwsE%3D"


I've tried 
http://oauth.googlecode.com/svn/code/javascript/example/signature.html
and it returned the same signature. I've also tried tmhOAuth library,
but it didn't work.

Happy new year! :)


On Dec 17 2010, 4:12 pm, Matt Harris <thematthar...@twitter.com>
wrote:
> 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, Twitterhttp://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 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

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

Reply via email to