facebook - How to create invitate-only website with JavaScript and Parse.com? -
i know how build website access limited people received invitation link. using parse.com backend , hosting so, won't use php , mysql. currently, can "login facebook".
i each user able invite 5 friends (for example) , limit access users invitation code or link.
question: there existing code or javascript library use this?
thanks lot.
i not aware of library shouldn't hard.
- the user click on invite friends , enter friends email addresses
- the end create entries in invites db table. can use 'objectid' parse.com automatically sets invite id.
the link in invite email http:///signup?inviteid=jh2u344232
if user navigates url , not have inviteid display error message
- if inviteid has ready been used display error message
- if inviteid no longer valid display error message.
Comments
Post a Comment