2011-07-22 11 views

cevap

7

Biz belirteci gibi taleplerin kapsamını yaparak google E-posta adresi sadece kişileri alabilirsiniz: Burada

var responseText = oAuthConsumer.GetUserInfo("https://www.googleapis.com/userinfo/email", consumerKey, consumerSecret, token, tokenSecret); 

tarafından:

"https://www.google.com/accounts/OAuthGetRequestToken?scope=https://www.googleapis.com/auth/userinfo#email"; 

Asistan gibi yanıt almak için bir yetkili çağrısı yapmak Yetkili çağrı, üstbilgide gerekli paramater ile HTTP Get isteği yapmak anlamına gelir.

başlık dize içermelidir: kodunuzu doğrulamak ve doğru başlık dize parametrelerini görmek için

http://googlecodesamples.com/oauth_playground bakınız, jeton bölge, consumerKey, signatureMethod, imza, zaman damgası, nounce, OAuthVersion