BoxKite.Twitter.TimelineExtensions.GetHomeTimeline C# (CSharp) Метод

GetHomeTimeline() публичный статический Метод

Returns a collection of the most recent Tweets and retweets posted by the authenticating user and the users they follow. The home timeline is central to how most users interact with the Twitter service.
ref: https://dev.twitter.com/docs/api/1.1/get/statuses/home_timeline
public static GetHomeTimeline ( this session, long sinceId, int count = 20, long maxId ) : Task>
session this
sinceId long Returns results with an ID greater than (that is, more recent than) the specified ID.
count int Specifies the number of records to retrieve. Must be less than or equal to 200. Defaults to 20.
maxId long Returns results with an ID less than (that is, older than) or equal to the specified ID.
Результат Task>
        public async static Task<TwitterResponseCollection<Tweet>> GetHomeTimeline(this IUserSession session, long sinceId = 0, int count = 20, long maxId = 0)
        {
            var parameters = new TwitterParametersCollection();
            parameters.Create(include_entities: true, include_rts:true,  count:count, since_id: sinceId, max_id: maxId);

            return await session.GetAsync(TwitterApi.Resolve("/1.1/statuses/home_timeline.json"), parameters)
                          .ContinueWith(c => c.MapToMany<Tweet>());
        }