public TwitterService(IConfiguration configuration)
        {
            this.configuration = configuration;

            string consumerKey    = configuration["Twitter:ConsumerKey"];
            string consumerSecret = configuration["Twitter:ConsumerSecret"];

            string tokenCredentialsEncoded = TwitterHelper.GetTokenCredentialsEncoded(consumerKey, consumerSecret);

            token = GetTokenAsync(tokenCredentialsEncoded).Result;
        }