Exemple #1
0
 public List<FavoriteList> GetFavorites(string format, string apiToken, string apiTokenSecret)
 {
     SinaApiService myApi = new SinaApiService();
     string myResult = myApi.GetFavorites(format, consumerKey, consumerKeySecret, apiToken, apiTokenSecret);
     XDocument doc = XDocument.Parse(myResult);
     return FavoriteList.Parse(doc.Root);
 }