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?
Also, is it considered the right practice to store things like avatar file IDs, usernames, etc. in user prefs?
Or should I be making a DB collection to store such user data?
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 🙏
You mean get other users data?
Yes, I would recommend creating a users collection
Thanks Steven, yeah that's what I ended up doing and it's working well so far
Yeah the original issue was getting other users data
Just for like, displaying profile pictures, usernames, etc etc
Recommended threads
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...