Exemplo n.º 1
0
 public UserList GetUserProfile(string userid, string format, string apiToken, string apiTokenSecret)
 {
     SinaApiService myApi = new SinaApiService();
     string myResult = myApi.GetUserProfile(userid, format, consumerKey, consumerKeySecret, apiToken, apiTokenSecret);
     XDocument doc = XDocument.Parse(myResult);
     return UserList.Parse(doc.Root);
 }