2012-07-26 63 views
0

檢索谷歌用戶的個人信息下面是我用的代碼:如何使用DotNetOpenAuth

// Retrieve the user's profile information 
MessageReceivingEndpoint GetProfileEndpoint = new MessageReceivingEndpoint("https://apps- apis.google.com/a/feeds/user/#readonly", HttpDeliveryMethods.GetRequest); 
var request = google.PrepareAuthorizedRequest(GetProfileEndpoint, accessToken); 
var response = request.GetResponse(); 

從上面的代碼中,我得到了壞請求錯誤。任何指向這個問題的指針。

回答

相關問題