Get the number of likes a user has via API?

Hello,

I’ve been messing around with the discourse API. I use the “JSON API” (https://meta.discourse.org/u/riversiderocks.json). Is there a way to get the total number of likes a user has from this file? I look but I can see no such thing.

Try https://meta.discourse.org/u/riversiderocks/summary.json

You should find user_summary.likes_given and user_summary.likes_received

7 Likes

Thanks, that seems to do the trick!

1 Like