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

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

Returns the most recent tweets authored by the authenticating user that have been retweeted by others.
ref: https://dev.twitter.com/docs/api/1.1/get/statuses/retweets_of_me
public static GetRetweetsOfMe ( 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 records to retrieve. Must be less than or equal to 100. If omitted, 20 will be assumed.
Результат Task>
        public async static Task<TwitterResponseCollection<Tweet>> GetRetweetsOfMe(this IUserSession session, long sinceId = 0, long maxId = 0, int count = 20)
        {
            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/retweets_of_me.json"), parameters)
                          .ContinueWith(c => c.MapToMany<Tweet>());
        }
    }