/// <summary>Get posts from Tumblr API.</summary>
        /// <param name="blog">The blog to target.</param>
        /// <param name="published">if set to <c>true</c> [published].</param>
        /// <param name="drafts">if set to <c>true</c> [drafts].</param>
        /// <param name="queued">if set to <c>true</c> [queued].</param>
        /// <param name="forceUserAuth">if set to <c>true</c> [force user authentication].</param>
        /// <returns>JArray.</returns>
        public async Task <JArray> GetPostsFromTumblr(string blog, bool published, bool drafts, bool queued, bool forceUserAuth)
        {
            JArray posts = new JArray();

            using (TumblrClient tumblrClient = new TumblrClient(_httpClient, OauthSettings.ConsumerKey, OauthSettings.ConsumerSecret, _logger))
            {
                if (published)
                {
                    JArray publicPosts = await tumblrClient.GetPosts(blog, forceUserAuth);

                    posts.Merge(publicPosts);
                }
                if (drafts)
                {
                    JArray draftPosts = await tumblrClient.GetDrafts(blog);

                    posts.Merge(draftPosts);
                }
                if (queued)
                {
                    JArray queuedPosts = await tumblrClient.GetQueue(blog);

                    posts.Merge(queuedPosts);
                }
            }
            return(posts);
        }