On 8/12/10 2:09 PM, Lumpizaver wrote:
> I cannot get the oAuth to work properly.
> 
> I am trying to get a web response of a string that looks like this:
> https://twitter.com/oauth/request_token?
> oauth_callback=http://win.plane.si/TwittRank/tweets.aspx
> &oauth_consumer_key=[MY CONSUMER KEY]
> &oauth_nonce=8536829
> &oauth_signature_method=HMAC-SHA1
> &oauth_timestamp=1281614745
> &oauth_token=[MY ACCESS TOKEN]
> &oauth_version=1.0
> &oauth_signature=OTNQE/CGAcVemax9egTA5LFw04w=}
> 
> I get the exception: The remote server returned an error: (401)
> Unauthorized.
> 
> 
> If I visit the URL above in browser i get:
> 
> Failed to validate oauth signature and token
> 
> 
> Thanks for your help.
> 
> Jure

Hello Jure,

How are you generating your signature? (What is your Base String?)

Also, I think that your nonce is a bit short. While it will not cause
issues, you may like to take a longer one - and preferably alphanumeric.

Tom

Reply via email to