internal void OnAddAccount(object sender, RoutedEventArgs e)
        {
            if (string.IsNullOrWhiteSpace(VerificationText) || VerificationText.Length < 6)
            {
                MessageBox.Show("Invalid verification# entered, please double check the site");
                return;
            }

            _isAuthInProgress = false;
            TwitterCredentials.SetCredentials(_accountAuth.Token, _accountAuth.TokenSecret, TwitterAccountAuth.ConsumerKey, TwitterAccountAuth.ConsumerSecret);
            var validatedCredentials = CredentialsCreator.GetCredentialsFromVerifierCode(VerificationText, _tmpAppCredentials);
            _accountAuth = new TwitterAccountAuth { Token = validatedCredentials.AccessToken, TokenSecret = validatedCredentials.AccessTokenSecret, Verification = VerificationText };
            StorageManager.SaveAccount(_accountAuth);
            IsAuthorizeNewAccountVisible = false;
            IsAddNewAccountVisible = false;
            UpdateNow(true);
        }
 public void OnLoaded()
 {
     //_twitterService = new TwitterService(TwitterAccountAuth.ConsumerKey, TwitterAccountAuth.ConsumerSecret);
     // see if we got any saved accounts
     var attemptRestoredAcct = StorageManager.RestoreAccount();
     if (attemptRestoredAcct != null)
     {
         _accountAuth = attemptRestoredAcct;
         //_twitterService.AuthenticateWith(_accountAuth.Token, _accountAuth.TokenSecret);
         TwitterCredentials.SetCredentials(_accountAuth.Token, _accountAuth.TokenSecret, TwitterAccountAuth.ConsumerKey, TwitterAccountAuth.ConsumerSecret);
         UpdateNow(true);
     }
     else
         IsAuthorizeNewAccountVisible = true;
 }