Hello,

I havent given up yet.

my request to get a token is, in VB.net :

txturl =
http://www.urban-rivals.com/api/auth/request_token.php/?request=GET&http%3A%2F%2Fwww.urban-rivals.com%2Fapi%2Fauth%2Frequest_token.php&oauth_consumer_key%3D4be261761b90235e6a0dfade3784ab8904d954fdb%26oauth_nonce%3D3426749%26oauth_signature%3DYvl98w3NHhljuudYWUlHf7223%25252Bc%25253D%26oauth_signature_method%3DHMACSHA1%26oauth_timestamp%3D1303820623%26oauth_version%3D1.0

i find my oauth class in "TwitterVB" (is a port of the Twitterizer
library <http://code.google.com/p/twitterizer/>)

my code is

Dim Oauth As New OAuthBGO (the class i found)

Dim url_Request_token As New Uri(txturl_Request_token)

timestamp = Oauth.GenerateTimeStamp()
nonce = Oauth.GenerateNonce()

Signature = Oauth.GenerateSignature(url_Request_token,
OAuthBGO.HTTPMethod.GET.ToString, Key, Secret, "", "", timestamp,
nonce, OAuthBGO.SignatureTypes.HMACSHA1, "", "", "", "")

request = Oauth.GenerateRequest(url_Request_token,
OAuthBGO.HTTPMethod.GET.ToString, Key, Signature, "", "", timestamp,
nonce, OAuthBGO.SignatureTypes.HMACSHA1.ToString, "", "", "", "")

=> i created GenerateRequest based on GenerateSignature

txturl = txturl_Request_token & "/?request=" & request

Dim myWebRequest As HttpWebRequest =
DirectCast(HttpWebRequest.Create(txturl), HttpWebRequest)
myWebRequest.Method = "GET"
Dim myWebResponse As HttpWebResponse =
DirectCast(myWebRequest.GetResponse(), HttpWebResponse)




i still have 401 ... What is wrong in this request ?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"OAuth" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/oauth?hl=en.

Reply via email to