Exemple #1
0
        static void Main(string[] args)
        {
            QueryBuilder      queryBuilder      = new QueryBuilder();
            TwitterRepository twitterRepository = new TwitterRepository();
            ArchiveRepository archiveRepository = new ArchiveRepository();

            var isUsername = isUsernameNotHashtag();
            var searchText = GetSearchText(isUsername);

            var builtQuery = queryBuilder.GenerateQuery(searchText, isUsername);
            var result     = twitterRepository.GetTweetsByUri(builtQuery, 10).ConfigureAwait(false);

            Console.WriteLine("Archiving results");
        }