Take a look at this please : Google's result :
oauth_token=*1%2FJefQs9cHFI8Ha2e5YjdkU*w&oauth_token_secret=*%2B74EaiHRmJ%2B1dBGUOOYIQL4H* Authorization: OAuth oauth_version="1.0", oauth_nonce="58b600e9773540aafa65cb41b31238cf", oauth_timestamp="1259928326", oauth_consumer_key="*www.file4share.net*", oauth_token="*1%2FJefQs9cHFI8Ha2e5YjdkUw*", oauth_signature_method="HMAC-SHA1", oauth_signature="r%2B%2FoQx8Gjt1U5YW6FQd8aOahyhQ%3D" Signature = 838Ix+wBPh/XBjdUbLkVNlB9KMs= when i use the bold red values i get the signature as given above but why :( if there is a problem with my function i won't be able to complete steps until here where could be the difference in your opinion? 2009/12/4 mat...@gmail <[email protected]> > "Failed to verify 3 legged OAuth request" probably means your signature is > invalid. > "Invalid consumer key" means something different (ex. your consumer is not > verified yet) > > I'm not good at .NET, but if your signature is same with that this ruby > script generate, it should be OK. > http://bit.ly/oauth-signature-checker > > On 2009/12/04, at 13:54, cahit Eyigünlü wrote: > > > I verified the domain and also i tryed the same on the localo but no way > i always get the same result > > > > > > > > > > Dim item As New OAuth.OAuthBase > > Dim returns > > Dim ts = item.GenerateTimeStamp > > Dim nonce = item.GenerateNonce > > Dim Sign = item.GenerateSignature(New Uri(" > http://www-opensocial.googleusercontent.com/api/people/@me/@self"), > consumerKey, consumerSecret, Session("Token2"), Session("SecretToken2"), > "GET", ts, nonce, "", returns) > > > > do you think is this create the right signature ? do you have any idea > with vb ? > > > > > > 2009/12/4 mat...@gmail <[email protected]> > > The parameters seems OK. > > > > Then, it might be because your consumer's domain is not verified, or > different with "www.file4share.net". > > > > On 2009/12/04, at 13:20, cahit Eyigünlü wrote: > > > > > With this information it is working on the google playground :( but i > could not understand why it is telling me that > > > > > > 04 Aralık 2009 06:20 tarihinde cahit Eyigünlü < > [email protected]> yazdı: > > > > > > Dim scope As String = " > http://www-opensocial.googleusercontent.com/api/people/" > > > Dim returnURL As String = " > http://www.file4share.net/Returns/Gmail.aspx" > > > Dim RequestFrom As String = " > http://www-opensocial.googleusercontent.com/api/people/@me/@self" > > > > > > > > > 2009/12/4 mat...@gmail <[email protected]> > > > can you send the OAuth scope parameter you send when getting request > token? > > > it might not be Portable Contact API's one. > > > > > > the scope list is here, though I couldn't find any info about portable > contact API's scope on google's documents :( > > > http://googlecodesamples.com/oauth_playground/ > > > > > > On 2009/12/04, at 13:00, cahit Eyigünlü wrote: > > > > > > > Sorry for second post sometimes also give this error : > > > > Failed to verify 3 legged OAuth request. Request was invalid.Invalid > AuthSub token. > > > > > > > > but i use the Token that given on the last step :( > > > > > > > > > > > > > > > > > > > > 04 Aralık 2009 05:58 tarihinde cahit Eyigünlü < > [email protected]> yazdı: > > > > I am at the end very thank you for your helps i saved my day with > your helps > > > > one last thing to complete my operation i have an from : > > > > > > > > http://www-opensocial.googleusercontent.com/api/people/@me/@self > > > > OAuth Authentication FailureInvalid consumer key, no app specified : > www.file4share.net > > > > > > > > but my application registered on : > https://www.google.com/accounts/ManageDomain > > > > where could be the error do you have any idea? > > > > > > > > > > > > > > > > > > > > 2009/12/4 mat...@gmail <[email protected]> > > > > You are probably using OAuth1.0. > > > > Google probably support oauth_callback only which is set when you set > up your consumer. > > > > > > > > You need to send oauth_callback when you get request token if you > want use OAuth1.0a. > > > > OAuth had changed the timing of sending oauth_callback and added > oauth_verifier. > > > > > > > > Check this document for the details. > > > > http://oauth.net/core/1.0a > > > > > > > > I'm not sure your library support 1.0a though. > > > > If not, use default oauth_callback which you set when you set up your > consumer, and don't send oauth_verifier. > > > > > > > > On 2009/12/04, at 11:32, cahit Eyigünlü wrote: > > > > > > > > > I could not complete the third step when i try to get complete > third step user is not comming back from the google if i use oauth_callback > method user come back without oauth_verifier > > > > > > > > > > 04 Aralık 2009 03:56 tarihinde cahit Eyigünlü < > [email protected]> yazdı: > > > > > I have found from your sended article > > > > > could you please check if i have any mistake > > > > > > > > > > First request to : > > > > > https://www.google.com/accounts/OAuthGetRequestToken > > > > > with scope time_stamp Signature Consumer key > > > > > > > > > > Second Request to redirecting user to : > > > > > https://www.google.com/accounts/accounts/OAuthAuthorizeToken > > > > > with > > > > > oauth_token & oauth_token_subsecret > > > > > > > > > > and finally : > > > > > https://www.google.com/accounts/OAuthGetAccessToken > > > > > i need to make a get to this url > > > > > > > > > > i tryed on play ground it worked and on my own software i completed > first two steps to complete my software i need one last step > > > > > what do i need to send to OAuthGetAccessToken get authTokken and i > think this is for one time usage, is there any way to get auth token for > longer time oauth_token and oauth_token_secret > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 2009/12/4 mat...@gmail <[email protected]> > > > > > OAuth Auth token key? > > > > > Do you mean consumer key? or access token? > > > > > > > > > > On 2009/12/04, at 10:27, cahit Eyigünlü wrote: > > > > > > > > > > > http://www-opensocial.googleusercontent.com/api/people/@me/@self > > > > > > That is exactly what i am looking for but i could not see where > would i use my oAuth Auth token key to get this info ... > > > > > > > > > > > > 2009/12/4 mat...@gmail <[email protected]> > > > > > > Google has Portable Contacts API, a standardized way to get user > profile info. > > > > > > http://portablecontacts.net/draft-spec.html > > > > > > > http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html > > > > > > > > > > > > You can also get their external site accounts on Google Profile, > using Social Graph API. > > > > > > http://code.google.com/intl/en/apis/socialgraph/ > > > > > > > > > > > > Ident Engine is one of the easiest way to use Social Graph API. > > > > > > http://identengine.com/index.htm > > > > > > > > > > > > On 2009/12/04, at 8:24, File4Share wrote: > > > > > > > > > > > > > How could i get the logged user info on google ? which scope do > i need > > > > > > > to use. I am able to getting token and auth token but i do not > know > > > > > > > how could i get credentials :( > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > 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] <oauth%[email protected]>. > > > > > > > For more options, visit this group at > http://groups.google.com/group/oauth?hl=en. > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > 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] <oauth%[email protected]>. > > > > > > For more options, visit this group at > http://groups.google.com/group/oauth?hl=en. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > 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] <oauth%[email protected]>. > > > > > > For more options, visit this group at > http://groups.google.com/group/oauth?hl=en. > > > > > > > > > > -- > > > > > > > > > > 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] <oauth%[email protected]>. > > > > > For more options, visit this group at > http://groups.google.com/group/oauth?hl=en. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > 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] <oauth%[email protected]>. > > > > > For more options, visit this group at > http://groups.google.com/group/oauth?hl=en. > > > > > > > > -- > > > > > > > > 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] <oauth%[email protected]>. > > > > For more options, visit this group at > http://groups.google.com/group/oauth?hl=en. > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > 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] <oauth%[email protected]>. > > > > For more options, visit this group at > http://groups.google.com/group/oauth?hl=en. > > > > > > -- > > > > > > 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] <oauth%[email protected]>. > > > For more options, visit this group at > http://groups.google.com/group/oauth?hl=en. > > > > > > > > > > > > > > > > > > -- > > > > > > 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] <oauth%[email protected]>. > > > For more options, visit this group at > http://groups.google.com/group/oauth?hl=en. > > > > -- > > > > 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] <oauth%[email protected]>. > > For more options, visit this group at > http://groups.google.com/group/oauth?hl=en. > > > > > > > > > > -- > > > > 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] <oauth%[email protected]>. > > For more options, visit this group at > http://groups.google.com/group/oauth?hl=en. > > -- > > 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] <oauth%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/oauth?hl=en. > > > -- 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.
