Thread:Feedback/last threads inside an article

how to display recent threads on the article page? i mean how to include api query?