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

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

Returns the count (default) 20 most recent mentions (tweets containing a users's @screen_name) for the authenticating user
ref :https://dev.twitter.com/docs/api/1.1/get/statuses/mentions_timeline
public static GetMentions ( this session, long sinceId, long maxId, int count = 20 ) : Task>
session this
sinceId long Returns results with an ID greater than (that is, more recent than) the specified ID.
maxId long Returns results with an ID less than (that is, older than) or equal to the specified ID.
count int Specifies the number of tweets to try and retrieve, up to a maximum of 200.
Результат Task>
        public async static Task<TwitterResponseCollection<Tweet>> GetMentions(this IUserSession session, long sinceId = 0, long maxId = 0, int count = 20)
        {
            var parameters = new TwitterParametersCollection();
            parameters.Create(include_entities: true, count: count, since_id: sinceId, max_id: maxId);

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