Get Most Commented Article


#1

hello!

It is my first implementation of talk, and so far everything is working great when I have the integration on each article. But I would like to show in an overview page the most commented article. I can not find any documentation of that.

Is there a way to view in an overview page the most commented article? Like hooking to an API or similar?

Thanks a lot in advance!
Dimitri


#2

Hi Dimitri,

You could probably create a query using GraphQL to access this information - do you want to try investigating that and see if it’s possible? If you can, it would make an awesome plugin.

This is some documentation that’s in progress: https://github.com/coralproject/talk/blob/11687b06d092379faba7a16f2a20ce79ee991404/docs/source/reference/graphql.md

Also, we’d love if you shared your implementation of Talk! We love to see what others are doing :slight_smile:

Thanks!


#3

Thanks!
I will do my best and keep you updated!