How can I get the list of topics an user is following?
I mean the topics you mark with this button:
Is there any way to obtain all those topics?
You can make an api call to https://community.nodebb.org/api/user/psychobunny/favourites
No, that's not what I was looking for. Those are favourites posts, I want the topics you follow (and receive notifications when someone replies) by pressing the button I said above.
The truth is that button is from the Vanilla Theme and it's not showing on this forum.
Anyway, reviewing the core I think there isn't a way, so I did it by myself. Nevermind.
baris last edited by
There is no list of tids that you follow, I think we should add that to core.
There is a list of user ids that are following a topic though in
@baris Exactly. The relation is "topic -> list of users", and I needed "user -> list of topics" so I extended the method toggleFollow from threadTools.js and every time a user starts following a thread, a new tid is stored in
@baris yes we should add that to core, it is amazing then, that way we can find people who r following similar interests