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

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
예제 #2
0
        public string GetTokenRateLimits()
        {
            string query = _helpQueryGenerator.GetCredentialsLimitsQuery();

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

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
예제 #4
0
        public string GetPlaceTrendsAt(long woeid)
        {
            string query = _trendsQueryGenerator.GetPlaceTrendsAtQuery(woeid);

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
예제 #5
0
        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));
        }
예제 #7
0
        public string GetRetweets(ITweetDTO tweet)
        {
            string query = _tweetQueryGenerator.GetRetweetsQuery(tweet);

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

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

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
예제 #11
0
        // 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));
        }
예제 #13
0
        // Favourites
        public string GetFavoriteTweets(IGetUserFavoritesQueryParameters parameters)
        {
            var query = _userQueryGenerator.GetFavoriteTweetsQuery(parameters);

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

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

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }