Closed xla closed 7 years ago
I think it would be nice to get a response on POST /me/invites
including some kind of unique identifier which we can pass onto the deeplink url, or if I pass a randomized hash of some kind into the post body which can later be used in the deeplink to match the invitee with his/her BFF 💥.
Checkez out. Bc of all the checks. Also: Love the BFF 💥 reference. MVP
Invite flow
To enable a better on-boarding experience we need a way to correlate users and their inviter. One way is to keep a list of invites of a user that stores a unique id (e.g. facebook id, or generate random identifier) which can be kept through until the invitee hits the signup. If the invitee signs up and the conenction to the inviter is preserved we can automatically create connections for those so they can hit the ground running.
API
To create an invite from the current user the following endpoint should be called. The key and value are entirely up to the caller to decide, but must match one of the key/value pairs in the
social_ids
of the invitee during signup. Given the Facebook id of the invitee is known:Then during singup the same information should be provvided for the user.