Hi, Maybe this can help: http://code.google.com/apis/gdata/docs/auth/oauth.html
Where are you setting the OAuthConsumerKey and OAuthConsumerSecret? There is also a Google group for OAuth that may also have some information: http://groups.google.com/group/oauth Cheers, Julian On Dec 2, 4:40 am, File4Share <[email protected]> wrote: > I am trying to get Request Token with HMAC-SHA1. > I tryed my Authorization header with > this url : > > https://www.google.com/accounts/OAuthGetRequestToken?scope=http://www... > > and it worked on (http://googlecodesamples.com/oauth_playground/ > index.php) google play ground but when ever i try on my computer with > this code : > > Dim webRequest As HttpWebRequest = Nothing > Dim requestWriter As StreamWriter = Nothing > > webRequest = TryCast(System.Net.WebRequest.Create > (Url.ToString), HttpWebRequest) > webRequest.Method = "GET" > webRequest.ContentType = "application/x-www-form- > urlencoded" > webRequest.Headers.Add(Auth.ToString) > WebRequest.ServicePoint.Expect100Continue = False > 'WebRequest.UserAgent = "www.file4share.net" > WebRequest.Timeout = 20000 > Dim responseData = WebResponseGet(webRequest) > Response.Write(responseData.ToString) > > I always get the (400) bad request, what ever i tryed i could not > solve it out, all the other Open auth systems are working with my > libraries. But i really get crazy with google it took my 3 days but i > could not solve what or where is the problem -- You received this message because you are subscribed to the Google Groups "Google Contacts API" 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/google-contacts-api?hl=en.
