[twitter-dev] Failed to validate oauth signature and token in xauth

2010-10-01 Thread Hyeonjong Ryu
Yes, I know there're already plenty of questions with this same topic, but I cannot really find out the one suite for me. I use C++ and libcurl to make a HTTP POST request, and here are some ingredients that I used for POST requests. Signature base string POSThttps%3A%2F%2Fapi.twitter.com%2Foauth

Re: [twitter-dev] Failed to validate oauth signature and token in xauth

2010-10-01 Thread Tom van der Woerdt
Using the Base String validator at http://quonos.nl/oauthTester/, I got this : Bad URL encoding! Both key and value in the POST body need to be URL encoded. In this case: xoan...@seed9.com is bad Tom On 10/1/10 11:34 AM, Hyeonjong Ryu wrote: Yes, I know there're already plenty of questions

[twitter-dev] Failed to validate oauth signature and token with xAuth

2010-09-17 Thread mlowicki
Hello!, We're implementing widget for Opera browser and we got xAuth access lately. I'm trying to get access token but without any success so far - http://dpaste.com/hold/244795/. generated POST seems to be exactly the same as on http://dev.twitter.com/pages/xauth :

Re: [twitter-dev] Failed to validate oauth signature and token with xAuth

2010-09-17 Thread Tom van der Woerdt
Base String looks fine. What's the complete request you are making? (the POST /oauth/access_token HTTP/1.1 part) Tom On 9/17/10 10:04 AM, mlowicki wrote: Hello!, We're implementing widget for Opera browser and we got xAuth access lately. I'm trying to get access token but without any

Re: [twitter-dev] Failed to validate oauth signature and token with xAuth

2010-09-17 Thread Matt Harris
Hey Michal Matt Harris Developer Advocate, Twitter http://twitter.com/themattharris On Sep 17, 2010, at 1:04, mlowicki mlowi...@gmail.com wrote: 1284633641688 -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi

Re: [twitter-dev] Failed to validate oauth signature and token with xAuth

2010-09-17 Thread Matt Harris
Ok no idea what happened with my previous email. Anyway your timestamp is in milliseconds when it should be in seconds. Give that a go and let us know what happens. Matt On Sep 17, 2010, at 1:04, mlowicki mlowi...@gmail.com wrote: Hello!, We're implementing widget for Opera browser and

Re: [twitter-dev] Failed to validate oauth signature and token with xAuth

2010-09-17 Thread Michał Łowicki
Hi Matt! Even with: var timestamp = Math.round(new Date().getTime() / 1000); still the same problem. 2010/9/17 Matt Harris mhar...@twitter.com Ok no idea what happened with my previous email. Anyway your timestamp is in milliseconds when it should be in seconds. Give that a go and let us

Re: [twitter-dev] Failed to validate oauth signature and token with xauth

2010-06-24 Thread Taylor Singletary
Hi there, Are you still having this issue? In the past when I've seen other developers having issues accomplishing this in Javascript, it's come down to an issue in the library used for HMAC-SHA1 and Base64 encoding. While it works in most conditions, there are apparently some edge cases where

[twitter-dev] Failed to validate oauth signature and token with xauth

2010-06-17 Thread ntortarolo
Hi, i have problem requesting an access_token, i think my source is right, i dont know where is the problem, i have maken some test with base_string, oauth_consumer_key and oauth_consumer_secret shown on http://dev.twitter.com/pages/xauth and i get the same oauth_signature shown there so i think