Re: [twitter-dev] Invalid Signature Request when POST - ing

2009-12-12 Thread Harshad RJ
For the benefit of the list:

I had an exchange with Mark off-list (because of OAuth credentials). One of
the errors turned out to be in my app itself. The other is not
confirmed/reproducible at this time.


On Sat, Dec 12, 2009 at 11:40 AM, Mark McBride  wrote:

> Could I get a complete dump of the HTTP conversation, including
> headers and body for the request and response?
>
>

-- 
Harshad RJ
http://hrj.wikidot.com


Re: [twitter-dev] Invalid Signature Request when POST - ing

2009-12-11 Thread Mark McBride
Could I get a complete dump of the HTTP conversation, including
headers and body for the request and response?

On Fri, Dec 11, 2009 at 9:28 PM, Harshad RJ  wrote:
> I have started getting this error too (I think they are related). In the
> response to the POST I see this:
> invalid / used nonce
> The nonce value used was:
> XEl7Q8
> GET requests are working fine. And the exact same application works fine
> with a different OAuth account (even with POST).
>
> On Sat, Dec 12, 2009 at 2:56 AM, Clemente Gomez  wrote:
>>
>> I have been getting my head wrapped around OAuth and have finally got
>> enough understanding to pull data from Twitter. It seems as though all
>> of my GET calls work, but when I try to POST data ( update status) I
>> get
>>
>> 
>> 
>> /statuses/update.xml?oauth_consumer_key=CENSORED?
>>
>> oauth_consumer_key=CENSORED&oauth_nonce=CENSORED&oauth_signature=CENSORED=&oauth_signature_method=HMAC-
>> SHA1&oauth_timestamp=1260564383
>> Incorrect signature
>> 
>>
>> I thought maybe the library I was using was incorrect in creating the
>> signature but after going to
>> http://hueniverse.com/2008/10/beginners-guide-to-oauth-part-iv-signing-requests/
>> and filling in the areas, the signature is exactly the same in my
>> output as that page.
>>
>> With that I am kind of lost as to why it isn't working. Anyone have
>> any ideas??
>
>
>
> --
> Harshad RJ
> http://hrj.wikidot.com
>



-- 
   ---Mark

http://twitter.com/mccv


Re: [twitter-dev] Invalid Signature Request when POST - ing

2009-12-11 Thread Harshad RJ
I have started getting this error too (I think they are related). In the
response to the POST I see this:
invalid / used nonce

The nonce value used was:
XEl7Q8

GET requests are working fine. And the exact same application works fine
with a different OAuth account (even with POST).


On Sat, Dec 12, 2009 at 2:56 AM, Clemente Gomez  wrote:

> I have been getting my head wrapped around OAuth and have finally got
> enough understanding to pull data from Twitter. It seems as though all
> of my GET calls work, but when I try to POST data ( update status) I
> get
>
> 
> 
> /statuses/update.xml?oauth_consumer_key=CENSORED?
>
> oauth_consumer_key=CENSORED&oauth_nonce=CENSORED&oauth_signature=CENSORED=&oauth_signature_method=HMAC-
> SHA1&oauth_timestamp=1260564383
> Incorrect signature
> 
>
> I thought maybe the library I was using was incorrect in creating the
> signature but after going to
> http://hueniverse.com/2008/10/beginners-guide-to-oauth-part-iv-signing-requests/
> and filling in the areas, the signature is exactly the same in my
> output as that page.
>
> With that I am kind of lost as to why it isn't working. Anyone have
> any ideas??
>



-- 
Harshad RJ
http://hrj.wikidot.com