Hello, I'm new to Appwrite, I come from a Firebase background, and in firebase, we use dynamic links (which will be discontinued soon) for refer and earn system, and when a dynamic link opens it has a userId query parameter so we know whose link it is, whenever someone opens referral link.
we can do similar with Appwrite too, but how to generate a unique referral code and link it to the Appwrite user?
hi @kamal.panara , we just released Appwrite Dynamic Links today.
https://github.com/appwrite/dynamic-links
Does the readme answer your question? If not, let me know, and we will provide more documentation.
You can have a collection of referral codes and a function for accepting the referral code. The function can lookup the referral code
Recommended threads
- RowList: The value of total is coming as...
RowList: The value of total is coming as a String, so it throws an error because it’s not parsed into an int. Error: TypeError: \"37\": type 'String' is not a ...
- User Blocked - False Positive
Today I tried to log in to my cloud console and it said the user is blocked and I didn't even receive any email regarding this like what kind of violation is my...
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...