// 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)); }
// Get Messages public string GetLatestMessagesReceived(int maximumMessages = TweetinviConsts.MESSAGE_GET_COUNT) { string query = _messageQueryGenerator.GetLatestMessagesReceivedQuery(maximumMessages); return(_twitterAccessor.ExecuteJsonGETQuery(query)); }
// Get Messages public IEnumerable <IMessageDTO> GetLatestMessagesReceived(int maximumMessages = TweetinviConsts.MESSAGE_GET_COUNT) { string query = _messageQueryGenerator.GetLatestMessagesReceivedQuery(maximumMessages); return(_twitterAccessor.ExecuteGETQuery <IEnumerable <IMessageDTO> >(query)); }
// Get Messages public IEnumerable <IMessageDTO> GetLatestMessagesReceived(IMessagesReceivedParameters queryParameters) { string query = _messageQueryGenerator.GetLatestMessagesReceivedQuery(queryParameters); return(_twitterAccessor.ExecuteGETQuery <IEnumerable <IMessageDTO> >(query)); }
// Get Messages public IEnumerable <IMessageDTO> GetLatestMessagesReceived(int maximumMessages = 40) { string query = _messageQueryGenerator.GetLatestMessagesReceivedQuery(maximumMessages); return(_twitterAccessor.ExecuteGETQuery <IEnumerable <IMessageDTO> >(query)); }
// Get Messages public string GetLatestMessagesReceived(int maximumMessages = 40) { string query = _messageQueryGenerator.GetLatestMessagesReceivedQuery(maximumMessages); return(_twitterAccessor.ExecuteJsonGETQuery(query)); }