How to get comments that belong to the post
Hi,
I get posts from specific blog this way:
List<BlogPost> posts = App.WorkWith().BlogPosts().Where(bp => bp.Parent.Title == "Name of blog" && bp.Status == ContentLifecycleStatus.Live ).Published().Get().ToList();
How can i get comments from every post from my list? Cause i need to show only currently logged user coments to every one post.Hi,
You can query comments by blog post as documented here.
Regards,
Bilyana Ivanova
Telerik