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.

  1. the user click on invite friends , enter friends email addresses
  2. the end create entries in invites db table. can use 'objectid' parse.com automatically sets invite id.
  3. the link in invite email http:///signup?inviteid=jh2u344232

  4. if user navigates url , not have inviteid display error message

  5. if inviteid has ready been used display error message
  6. if inviteid no longer valid display error message.

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -