Пример #1
0
 protected UserInfo ExtractUserInfo(ITwitterExtractorByUser extractor, TwitterAPPUser user)
 {
     var userInfo = new TwitterRepstr_User();
     var jsonResponse  = extractor.GetResponse(user);
     var response = JsonConvert.DeserializeObject<UserInfo>(jsonResponse);
     return response;
 }
Пример #2
0
 protected UserIdList ExtractUsersFrom(ITwitterExtractorByUser extractor)
 {
     // Reading the information from Twitter
     var followerXtractor = new TwitterRepstr_FollowersID();
     return JsonConvert.DeserializeObject<UserIdList>(extractor.GetResponse(MyUser));
 }