public string SearchTweets(string searchQuery)
        {
            string query = _searchQueryGenerator.GetSearchTweetsQuery(searchQuery);

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
        public string GetTokenRateLimits()
        {
            string query = _helpQueryGenerator.GetCredentialsLimitsQuery();

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
        // Get Messages
        public string GetLatestMessagesReceived(int maximumMessages = TweetinviConsts.MESSAGE_GET_COUNT)
        {
            string query = _messageQueryGenerator.GetLatestMessagesReceivedQuery(maximumMessages);

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
        public string GetPlaceTrendsAt(long woeid)
        {
            string query = _trendsQueryGenerator.GetPlaceTrendsAtQuery(woeid);

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
        public string GetFavouriteTweets(IUserIdDTO userDTO, int maxFavouritesToRetrieve = 40)
        {
            string query = _userQueryGenerator.GetFavouriteTweetsQuery(userDTO, maxFavouritesToRetrieve);

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
        public string GetHomeTimeline(IHomeTimelineParameters timelineParameters)
        {
            string query = _timelineQueryGenerator.GetHomeTimelineQuery(timelineParameters);

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
        public string GetRetweets(ITweetDTO tweet)
        {
            string query = _tweetQueryGenerator.GetRetweetsQuery(tweet);

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
Example #8
0
        public string GetAuthenticatedUserSettingsJson()
        {
            string query = _accountQueryGenerator.GetAuthenticatedUserAccountSettingsQuery();

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
Example #9
0
 // Get json response from query
 public static string ExecuteJsonGETQuery(string query)
 {
     return(_twitterAccessor.ExecuteJsonGETQuery(query));
 }
        public string GetSavedSearch(long searchId)
        {
            string query = _savedSearchQueryGenerator.GetSavedSearchQuery(searchId);

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
        // Get Tweet
        public string GetTweet(long tweetId)
        {
            string query = _tweetQueryGenerator.GetTweetQuery(tweetId);

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
        // Get Messages
        public string GetLatestMessagesReceived(int maximumMessages = 40)
        {
            string query = _messageQueryGenerator.GetLatestMessagesReceivedQuery(maximumMessages);

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
Example #13
0
        // Favourites
        public string GetFavoriteTweets(IGetUserFavoritesQueryParameters parameters)
        {
            var query = _userQueryGenerator.GetFavoriteTweetsQuery(parameters);

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
Example #14
0
        public string GetPlaceFromId(string placeId)
        {
            string query = _geoQueryGenerator.GetPlaceFromIdQuery(placeId);

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
Example #15
0
        public string GetHomeTimeline(int maximumTweets = 40, bool excludeReplies = false)
        {
            string query = _timelineQueryGenerator.GetHomeTimelineQuery(maximumTweets, excludeReplies);

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }