[twitter-dev] iPhone::Incorrect oauth_signature for xAuth?

2010-09-12 Thread Nikolay Klimchuk
I'm trying to understand why algorithm for calculation of oauth_signature does not give me the same result as shown here: http://dev.twitter.com/pages/xauth In my case I'm getting signedSK = 'MUYmiobRdoK6s0ZVqo4xQNNO17w=' If I URL encode such result it's still very different from

[twitter-dev] Re: iPhone::Incorrect oauth_signature for xAuth?

2010-09-13 Thread Nikolay Klimchuk
Thank you Tom I will try your algorithm and compare results. Quick question: why you do this [str substringToIndex:[str length]-3] ? Nikolay Klimchuk On Sep 13, 2:46 am, Tom van der Woerdt i...@tvdw.eu wrote: Hi Nikolay, The first part of your code looks fine. You may, however, like to do

[twitter-dev] Re: iPhone::Incorrect oauth_signature for xAuth?

2010-09-13 Thread Nikolay Klimchuk
Still no luck With your code I'm gettings exactly the same result MUYmiobRdoK6s0ZVqo4xQNNO17w= Something really strange in example here http://dev.twitter.com/pages/xauth Nikolay Klimchuk On Sep 13, 7:19 am, Tom van der Woerdt i...@tvdw.eu wrote: Oh, hehe, good point. That's because my Base

[twitter-dev] Re: XAuth signature error

2010-09-13 Thread Nikolay Klimchuk
What algorithm you're using for hmac-sha1 and base64 I'm getting different oauth_signature for the xAuth test example http://dev.twitter.com/pages/xauth Nikolay Klimchuk On Sep 13, 1:01 am, Double K squel...@gmail.com wrote: hi, my name is Kim. I will make XAuth module. So i need developer

[twitter-dev] Re: iPhone::Incorrect oauth_signature for xAuth?

2010-09-14 Thread Nikolay Klimchuk
Can somebody recalculate test example from http://dev.twitter.com/pages/xauth ??? I'm looking for oauth_signature parameter I'm getting different result and it does not make any sense so far On Sep 13, 2:54 pm, Nikolay Klimchuk klimc...@gmail.com wrote: Thanks Tom I feel better now LoL

[twitter-dev] Re: iPhone::Incorrect oauth_signature for xAuth?

2010-09-15 Thread Nikolay Klimchuk
for this Nikolay Klimchuk On Sep 15, 12:03 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Everyone, I've revised the xAuth examples athttp://dev.twitter.com/pages/xauth-- you'll find they should have signatures that are easier to reproduce and was confirmed functional

[twitter-dev] Re: iPhone::Incorrect oauth_signature for xAuth?

2010-09-16 Thread Nikolay Klimchuk
The code I've used is in the first message of this topic On Sep 16, 12:21 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Can you share the code you're using? On Wed, Sep 15, 2010 at 8:02 PM, Nikolay Klimchuk klimc...@gmail.comwrote: That's really puzzling for me. I've tried 5

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

2010-09-18 Thread Nikolay Klimchuk
Second part of the base string: oauth_consumer_key=sGNxxnqgZRHUt6NunK3uwoauth_nonce=WLxsob j4rhS2xmCbaAeT4aAkRfx4vSHX4OnYpTE77hAoauth_signature_method=HMAC- SHA1oauth_timestamp=1276101652oauth_version=1.0x_auth_mode=client_authx _auth_password= %25123!aZ+()456242134x_auth_username=tpFriendlyGiant

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

2010-09-18 Thread Nikolay Klimchuk
say that the issue is at that function. Tom On Sep 18, 2010, at 11:41 PM, Nikolay Klimchuk klimc...@gmail.com wrote: Second part of the base string: oauth_consumer_key=sGNxxnqgZRHUt6NunK3uwoauth_nonce=WLxsob j4rhS2xmCbaAeT4aAkRfx4vSHX4OnYpTE77hAoauth_signature_method=HMAC

[twitter-dev] Re: iPhone::Incorrect oauth_signature for xAuth?

2010-09-19 Thread Nikolay Klimchuk
=1L1oXQmawZAkQ47FHLwcOV%2Bkjwc%3D On Sep 16, 12:21 pm, Taylor Singletary taylorsinglet...@twitter.com wrote: Can you share the code you're using? On Wed, Sep 15, 2010 at 8:02 PM, Nikolay Klimchuk klimc...@gmail.comwrote: That's really puzzling for me. I've tried 5 different ways to get oauth_signature, even

[twitter-dev] Re: “Failed to validate oauth signat ure and token

2010-09-19 Thread Nikolay Klimchuk
Sorry I don't know answer on your question but in general would be nice to have more informative error messages from Twitter I'm tired of Failed to validate oauth signature and token, if there is a problem with timestamp just let me know! It will also reduce amount of messages in this group On