3 ms·
Hi Brad! I'm glad you like Sunnytrail. Your problem can be easily solved. I suppose that you are generating for each users some sort of unique ID. My advice is
by andreisavu 16y ago
Hi Brad! I'm glad you like Sunnytrail. Your problem can be easily solved. I suppose that you are generating for each users some sort of unique ID. My advice is to use that to generate an username (if not already available) and a dummy email address. You should be able to update those later when that customer upgrades to a paid plan. TweetSaver looks great! Get back to us on email if you've got more questions.
- bradleyjoyce 16y agothat feels pretty hacky to be honest. the real issue is that one person may have multiple accounts in the app, and they may want to use the same email address for all accounts... I have no reason to enforce a unique email address. It's odd that Sunnytrail would when there is usually a common unique identifier across all apps for users.. user id
- andreisavu 16y agoSunnytrail does not enforce an unique email address or an unique username. We are tracking users based on the supplied internal user ID (or an email address hash if an internal user ID is not provided).
- bradleyjoyce 16y agohmm, I'm pretty sure that's what Octav had told me in chat.. either way you require an email address... RuntimeError: The request is invalid: {"message": "invalid JSON message", "errors": [["", "A valid email address is mandatory"]]}
- andreisavu 16y agorequired but not unique. just generate a dummy one based on the user id.
- bradleyjoyce 16y agoso just really curious.. what's the reasoning behind requiring it?
- andreisavu 16y agowe are planning to add some features that depend on that email address (some sort of advanced client profile)