// Get Messages public string GetLatestMessagesReceived(int maximumMessages = TweetinviConsts.MESSAGE_GET_COUNT) { var parameter = new MessagesReceivedParameters { MaximumNumberOfMessagesToRetrieve = maximumMessages }; string query = _messageQueryGenerator.GetLatestMessagesReceivedQuery(parameter); return(_twitterAccessor.ExecuteGETQueryReturningJson(query)); }
public string SearchTweets(string searchQuery) { string query = _searchQueryGenerator.GetSearchTweetsQuery(searchQuery); return(_twitterAccessor.ExecuteGETQueryReturningJson(query)); }
public string GetHomeTimeline(IHomeTimelineParameters timelineParameters) { string query = _timelineQueryGenerator.GetHomeTimelineQuery(timelineParameters); return(_twitterAccessor.ExecuteGETQueryReturningJson(query)); }
public string GetSavedSearch(long searchId) { string query = _savedSearchQueryGenerator.GetSavedSearchQuery(searchId); return(_twitterAccessor.ExecuteGETQueryReturningJson(query)); }
/// <summary> /// Warning: Behaviour differs from MessageController.GetLatestMessages. /// This method will not make multiple requests to the Twitter API and combine their results, /// as that would require parsing the JSON, instead that is left up to the caller. /// </summary> public string GetLatestMessages(IGetMessagesParameters queryParameters) { string query = _messageQueryGenerator.GetLatestMessagesQuery(queryParameters); return(_twitterAccessor.ExecuteGETQueryReturningJson(query)); }
public string GetPlaceTrendsAt(long woeid) { string query = _trendsQueryGenerator.GetPlaceTrendsAtQuery(woeid); return(_twitterAccessor.ExecuteGETQueryReturningJson(query)); }
public string GetPlaceFromId(string placeId) { string query = _geoQueryGenerator.GetPlaceFromIdQuery(placeId); return(_twitterAccessor.ExecuteGETQueryReturningJson(query)); }
// Favourites public string GetFavoriteTweets(IGetUserFavoritesQueryParameters parameters) { var query = _userQueryGenerator.GetFavoriteTweetsQuery(parameters); return(_twitterAccessor.ExecuteGETQueryReturningJson(query)); }
public string GetCredentialsRateLimits() { string query = _helpQueryGenerator.GetCredentialsLimitsQuery(); return(_twitterAccessor.ExecuteGETQueryReturningJson(query)); }
// Get Tweet public string GetTweet(long tweetId) { string query = _tweetQueryGenerator.GetTweetQuery(tweetId); return(_twitterAccessor.ExecuteGETQueryReturningJson(query)); }
public string GetAuthenticatedUserSettingsJson() { string query = _accountQueryGenerator.GetAuthenticatedUserAccountSettingsQuery(); return(_twitterAccessor.ExecuteGETQueryReturningJson(query)); }