public void Initialize(string accessToken, string accessTokenSecret, string username) { //for OAuth HttpConnectionOAuth con = new HttpConnectionOAuth(); con.Initialize(ConsumerKey, ConsumerSecret, accessToken, accessTokenSecret, username, "screen_name"); httpCon = con; connectionType = AuthMethod.OAuth; }