private ITwitterClient InitializeClient()
        {
            var twitterOptions = new TwitterClientOptions(_options.Value.OpenKey, _options.Value.SecretKey);
            var result         = new TwitterClient.Client.TwitterClient(twitterOptions);

            result.Authorize(_socialNetAuthorization.ExecuteAuthorize);
            return(result);
        }
 private ITwitterClient InitializeClient()
 {
     try
     {
         var twitterOptions = new TwitterClientOptions(_options.Value.OpenKey, _options.Value.SecretKey);
         var result         = new TwitterClient.Client.TwitterClient(twitterOptions);
         EventHandler      = _twitterClientEventHandler;
         TwitterClientBase = result;
         SubscribeOnEvent();
         result.Authorize();
         return(result);
     }
     catch (Exception ex)
     {
         _logger.LogError(new EventId(ex.HResult), ex, ex.Message);
         throw new SocialNetClientException(ex.Message);
     }
 }