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

2010-09-19 Thread Nikolay Klimchuk
Good news everyone Twitter changed example at http://dev.twitter.com/pages/xauth Now my code gives the same result as in example NSString *s= @POSThttps%3A%2F%2Fapi.twitter.com%2Foauth %2Faccess_tokenoauth_consumer_key%3DJvyS7DO2qd6NNTsXJ4E7zA

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

2010-09-16 Thread Taylor Singletary
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 extracted from libraries suggested by Twitter All of them produce same result

[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

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

2010-09-15 Thread Taylor Singletary
Hi Everyone, I've revised the xAuth examples at http://dev.twitter.com/pages/xauth -- you'll find they should have signatures that are easier to reproduce and was confirmed functional at the time of execution. Thanks for the nudge, Tom. Thanks, Taylor On Mon, Sep 13, 2010 at 11:41 AM, Tom van

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

2010-09-15 Thread Nikolay Klimchuk
That's really puzzling for me. I've tried 5 different ways to get oauth_signature, even extracted from libraries suggested by Twitter All of them produce same result MUYmiobRdoK6s0ZVqo4xQNNO17w= It's different from example http://dev.twitter.com/pages/xauth I'm looking for any logical explanation

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

[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

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

2010-09-13 Thread Tom van der Woerdt
Oh, hehe, good point. That's because my Base String has one extra urlencoded '' on the end, and that shouldn't be there. Tom On Mon, 13 Sep 2010 04:18:06 -0700 (PDT), Nikolay Klimchuk klimc...@gmail.com wrote: Thank you Tom I will try your algorithm and compare results. Quick question: why

[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

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

2010-09-13 Thread Tom van der Woerdt
2010-09-13 20:39:11.190 Test[56513:207] NSData *HMAC: 3146268a 86d17682 bab34655 aa8e3140 d34ed7bc 2010-09-13 20:39:11.191 Test[56513:207] NSString *HMAC64: MUYmiobRdoK6s0ZVqo4xQNNO17w= Looks like you're right :-) @episod: You should fix that! :-) Tom On 9/13/10 8:23 PM, Nikolay Klimchuk