Exemple #1
0
            public void AuthenticateTwitter()
            {
                GetOAuthForm f = new GetOAuthForm(CONSUMER_KEY, CONSUMER_SECRET);

                f.ShowDialog();
                if (f.OAuthTokenResponse != null)
                {
                    AccessToken       = f.OAuthTokenResponse.Token;
                    AccessTokenSecret = f.OAuthTokenResponse.TokenSecret;
                    UserDetails       = f.OAuthTokenResponse;
                }
                else
                {
                    System.Windows.Application.Current.Shutdown();
                }
            }
Exemple #2
0
 public void AuthenticateTwitter()
 {
     GetOAuthForm f = new GetOAuthForm(CONSUMER_KEY, CONSUMER_SECRET);
     f.ShowDialog();
     if (f.OAuthTokenResponse != null)
     {
         AccessToken = f.OAuthTokenResponse.Token;
         AccessTokenSecret = f.OAuthTokenResponse.TokenSecret;
         UserDetails = f.OAuthTokenResponse;
     }
     else
     {
         System.Windows.Application.Current.Shutdown();
     }
 }
Exemple #3
0
 public void AuthenticateTwitter()
 {
     GetOAuthForm f = new GetOAuthForm(CONSUMER_KEY, CONSUMER_SECRET);
     f.ShowDialog();
     if (f.OAuthTokenResponse != null)
     {
         AccessToken = f.OAuthTokenResponse.Token;
         AccessTokenSecret = f.OAuthTokenResponse.TokenSecret;
         UserDetails = f.OAuthTokenResponse;
     }
 }