dhiraj_gophane
12 years agoLeader
Getting latest blog comments from a particular category
Hi,
I want a custom component which will fetch 5 latest blog comments from a particular category.
Any solution?
Hi,
This REST API call should get you started
<#assign recent_blog_articles = rest("/categories/id/${categoryID}/replies/style/blog/recent")>
You just need to supply your category ID via
categoryID
The REST API documentation will help you getting this trimmed down to only 5: http://lithosphere.lithium.com/t5/rest-api/bd-p/developers-rest-api