Пример #1
0
        // 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));
        }
Пример #2
0
        // Get Messages
        public string GetLatestMessagesReceived(int maximumMessages = TweetinviConsts.MESSAGE_GET_COUNT)
        {
            string query = _messageQueryGenerator.GetLatestMessagesReceivedQuery(maximumMessages);

            return(_twitterAccessor.ExecuteJsonGETQuery(query));
        }
Пример #3
0
        // Get Messages
        public IEnumerable <IMessageDTO> GetLatestMessagesReceived(int maximumMessages = TweetinviConsts.MESSAGE_GET_COUNT)
        {
            string query = _messageQueryGenerator.GetLatestMessagesReceivedQuery(maximumMessages);

            return(_twitterAccessor.ExecuteGETQuery <IEnumerable <IMessageDTO> >(query));
        }
Пример #4
0
        // Get Messages
        public IEnumerable <IMessageDTO> GetLatestMessagesReceived(IMessagesReceivedParameters queryParameters)
        {
            string query = _messageQueryGenerator.GetLatestMessagesReceivedQuery(queryParameters);

            return(_twitterAccessor.ExecuteGETQuery <IEnumerable <IMessageDTO> >(query));
        }
Пример #5
0
        // 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));
        }