private List<Message> QueryTwitter(string searchTerm) { var messages = new List<Message>(); foreach(var mood in Mood.MoodTypes) { var param = new Tweetinvi.Core.Parameters.TweetSearchParameters(searchTerm ); param.MaximumNumberOfResults = 500; messages.AddRange(ConversionHelper.ConvertITweetToIMessage(Search.SearchTweets(param))); } return messages; }
private List <Message> QueryTwitter(string searchTerm) { var messages = new List <Message>(); foreach (var mood in Mood.MoodTypes) { var param = new Tweetinvi.Core.Parameters.TweetSearchParameters(searchTerm); param.MaximumNumberOfResults = 500; messages.AddRange(ConversionHelper.ConvertITweetToIMessage(Search.SearchTweets(param))); } return(messages); }