BoxKite.Twitter.TweetExtensions.GetTweetsFull C# (CSharp) Метод

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

Returns fully-hydrated tweets for up to 100 tweets per request, as specified by comma-separated values passed to the user_id and/or screen_name parameters.
ref: https://dev.twitter.com/docs/api/1.1/get/statuses/lookup
public static GetTweetsFull ( this session, IEnumerable tweetIds = null ) : Task>
session this
tweetIds IEnumerable up to 100 are allowed in a single request.
Результат Task>
        public static async Task<TwitterResponseCollection<Tweet>> GetTweetsFull(this IUserSession session, IEnumerable<long> tweetIds = null)
        {
            var parameters = new TwitterParametersCollection();
            parameters.Create(include_entities: true);
            parameters.CreateCollection(tweetids: tweetIds);

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