Пример #1
0
 public static TwitterService CreateFromAccessInformation(TwitterAccessInformation info) {
     return CreateFromOAuthClient(new TwitterOAuthClient {
         ConsumerKey = info.ConsumerKey,
         ConsumerSecret = info.ConsumerSecret,
         Token = info.AccessToken,
         TokenSecret = info.AccessTokenSecret
     });
 }
Пример #2
0
 public static TwitterService CreateFromAccessInformation(TwitterAccessInformation info)
 {
     return(CreateFromOAuthClient(new TwitterOAuthClient {
         ConsumerKey = info.ConsumerKey,
         ConsumerSecret = info.ConsumerSecret,
         Token = info.AccessToken,
         TokenSecret = info.AccessTokenSecret
     }));
 }