Exemplo n.º 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();
                }
            }
Exemplo n.º 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();
     }
 }
Exemplo n.º 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;
     }
 }