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
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...
- SyntaxError: Unexpected end of JSON inpu...
I am trying to create a fcm push notification service using appwrite functions with its REST API to invoke that function from my client side app and getting thi...
- Experiencing inconsistent "500 general_u...
I am developing a task management app that uses Appwrite auth. My project is hosted on Appwrite cloud and I've created basic server-side authentication followin...