How can I display the most like posts from ultimate member?


With Ultimate Member Social Activity plugin the users are able to write posts and like each-others posts. I would like to display the most liked posts on a different page. How could I do that?

I was thinking on shortcodes but there are none for this purpose or write some code but i have no idea how to start it :/ I have seen a plugin with this functionality is possible to copy that peace of code and replace the hook from UM like counter? (If its make no sense i am sorry)

Thank You!