Rank 2: Process
Is there a method in the client SDK which would allow me to get a user other than the currently logged in user by ID and fetch their pref key/vals?
Votes
0
Replies
8
Participants
Unknown
Messages
9
Rank 2: Process
Is there a method in the client SDK which would allow me to get a user other than the currently logged in user by ID and fetch their pref key/vals?
Rank 2: Process
Also, is it considered the right practice to store things like avatar file IDs, usernames, etc. in user prefs?
Rank 2: Process
Or should I be making a DB collection to store such user data?
Rank 2: Process
I'm going to refactor to user a DB collection for now, but if anyone knows the correct answer to this plz @ ping me here 🙏
Moderator
You mean get other users data?
Admin
Yes, I would recommend creating a users collection
Rank 2: Process
Thanks Steven, yeah that's what I ended up doing and it's working well so far
Rank 2: Process
Yeah the original issue was getting other users data
Rank 2: Process
Just for like, displaying profile pictures, usernames, etc etc