如何使用DotNetOpenAuth

问题描述:

检索谷歌用户的个人信息下面是我用的代码:如何使用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(); 

从上面的代码中,我得到了坏请求错误。任何指向这个问题的指针。