Ejemplo n.º 1
0
        // Retweets of Me Timeline
        public string GetRetweetsOfMeTimelineQuery(IRetweetsOfMeTimelineParameters retweetsOfMeTimelineParameters)
        {
            var includeUserEntitiesParameter = _timelineQueryParameterGenerator.GenerateIncludeUserEntitiesParameter(retweetsOfMeTimelineParameters.IncludeUserEntities);
            var timelineRequestParameter     = GenerateTimelineRequestParameter(retweetsOfMeTimelineParameters);
            var requestParameters            = string.Format("{0}{1}", timelineRequestParameter, includeUserEntitiesParameter);

            return(string.Format(Resources.Timeline_GetRetweetsOfMeTimeline, requestParameters));
        }
Ejemplo n.º 2
0
        // Retweets Of Me Timeline
        public IEnumerable<ITweet> GetRetweetsOfMeTimeline(IRetweetsOfMeTimelineParameters parameters)
        {
            if (parameters == null)
            {
                parameters = _timelineQueryParameterGenerator.CreateRetweetsOfMeTimelineParameters();
            }

            var timelineDTO = _timelineQueryExecutor.GetRetweetsOfMeTimeline(parameters);
            return _tweetFactory.GenerateTweetsFromDTO(timelineDTO);
        }
Ejemplo n.º 3
0
        // Retweets Of Me Timeline
        public IEnumerable <ITweet> GetRetweetsOfMeTimeline(IRetweetsOfMeTimelineParameters parameters)
        {
            if (parameters == null)
            {
                parameters = _timelineQueryParameterGenerator.CreateRetweetsOfMeTimelineParameters();
            }

            var timelineDTO = _timelineQueryExecutor.GetRetweetsOfMeTimeline(parameters);

            return(_tweetFactory.GenerateTweetsFromDTO(timelineDTO));
        }
 // Retweets of Me Timeline
 public string GetRetweetsOfMeTimelineQuery(IRetweetsOfMeTimelineParameters retweetsOfMeTimelineParameters)
 {
     var includeUserEntitiesParameter = _timelineQueryParameterGenerator.GenerateIncludeUserEntitiesParameter(retweetsOfMeTimelineParameters.IncludeUserEntities);
     var timelineRequestParameter = GenerateTimelineRequestParameter(retweetsOfMeTimelineParameters);
     var requestParameters = string.Format("{0}{1}", timelineRequestParameter, includeUserEntitiesParameter);
        
     return string.Format(Resources.Timeline_GetRetweetsOfMeTimeline, requestParameters);
 }
Ejemplo n.º 5
0
        // Retweets of Me Timeline

        /// <summary>
        /// Get the tweets visible on your retweets of me Timeline
        /// </summary>
        public static IEnumerable <ITweet> GetRetweetsOfMeTimeline(IRetweetsOfMeTimelineParameters parameters = null)
        {
            return(TimelineController.GetRetweetsOfMeTimeline(parameters));
        }
 // Retweets of Me Timeline
 public IEnumerable<ITweetDTO> GetRetweetsOfMeTimeline(IRetweetsOfMeTimelineParameters timelineParameters)
 {
     string query = _timelineQueryGenerator.GetRetweetsOfMeTimelineQuery(timelineParameters);
     return _twitterAccessor.ExecuteGETQuery<IEnumerable<ITweetDTO>>(query);
 }
Ejemplo n.º 7
0
        // Retweets of Me Timeline

        /// <summary>
        /// Get the tweets visible on your retweets of me Timeline
        /// </summary>
        public static IEnumerable<ITweet> GetRetweetsOfMeTimeline(IRetweetsOfMeTimelineParameters parameters = null)
        {
            return TimelineController.GetRetweetsOfMeTimeline(parameters);
        }
Ejemplo n.º 8
0
        // Retweets of Me Timeline
        public IEnumerable <ITweetDTO> GetRetweetsOfMeTimeline(IRetweetsOfMeTimelineParameters timelineParameters)
        {
            string query = _timelineQueryGenerator.GetRetweetsOfMeTimelineQuery(timelineParameters);

            return(_twitterAccessor.ExecuteGETQuery <IEnumerable <ITweetDTO> >(query));
        }