/// <summary> /// Logon /// </summary> /// <returns></returns> private Twitter.ITwitterAuthorizer PerformAuthorization(string accessToken, string accessSecret, string authenticationKey, string autenthicationSecret) { Properties.Settings settings = new Properties.Settings(); var auth = new Twitter.SingleUserAuthorizer { Credentials = new Twitter.InMemoryCredentials { OAuthToken = accessToken, AccessToken = accessSecret, ConsumerKey = authenticationKey, ConsumerSecret = autenthicationSecret, }, UseCompression = true, }; auth.Authorize(); return(auth); }
public TwitterPane() { Config = new Properties.Settings(); InitializeComponent(); }