Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Age verification gate #2

Closed
mayukh18 opened this issue Sep 29, 2017 · 24 comments
Closed

Age verification gate #2

mayukh18 opened this issue Sep 29, 2017 · 24 comments

Comments

@mayukh18
Copy link
Owner

When a new user is encountered ( user doesn't exist in users db ) ask for the age. Simple "What's your age?" Give two options "18 or over" and "under 18". First option will lead directly to the welcome message. The second option will send a message suggesting parental guidance first then go to the welcome message block.

Though the app in under facebook , their policies probably cover this but still it is better to have this check.

@Souvikray
Copy link

Anyone working on this issue?

@Pranav-Rastogi
Copy link

I would like to do this.

@mayukh18
Copy link
Owner Author

No one is assigned. Feel free to take this up.

@Pranav-Rastogi
Copy link

@mayukh18 Do you have a preference for tabs/spaces?

@Pranav-Rastogi
Copy link

  • The function webhook in app.py, is that the only place where a new user is added?
  • Which welcome screen should the user be forwarded? I mean does the code already have a welcome screen or should i make one?

@mayukh18
Copy link
Owner Author

A new user will hit "Get Started" that will lead to the getstarted postback in postback.py. It already has a welcome note. What will be good here is that in place of send_newchat_prompt(id=sender) at the end, create something like send_age_prompt(id=sender) that will ask for the age.

When a user clicks one of the age options, there will be another postback call which needs to be handled again in postback.py. You can put the two different messages for the two options there and at the end put the send_newchat_prompt(id=sender) to connect and complete the flow.

@ajpen
Copy link

ajpen commented Oct 23, 2017

@mayukh18 Why not get the age from the user's profile (using the date of birth) and then determine whether they are "18 or over"?

@ctrlsam
Copy link
Contributor

ctrlsam commented Oct 24, 2017

Would love to help out if possible, @Pranav-Rastogi are you still working on this?

@Pranav-Rastogi
Copy link

@ajpen that would require the user to click on a button stating they have parental guidance every time they use the service but the OP wants that to be done only at the time of registration.

@Pranav-Rastogi
Copy link

@sillysam yes, I'm still working on it. I was a bit busy lately so could not make the necessary changes.

@mayukh18
Copy link
Owner Author

@ajpen there is a different reason. In case of messenger apps, Facebook allows access to a few info like gender, profile picture etc without explicit permission from the user. For extra info, we need to ask the user for permission which I think is not desirable we don't have any other use for it.

@rohanraj7316
Copy link

@mayukh18 is it assigned to someone

@priyankaatgithub
Copy link

@mayukh18 - Is someone working on this?

@jeffistyping
Copy link

@sillysam yes, I'm still working on it. I was a bit busy lately so could not make the necessary changes.

Are you still working on this?

@AliM7860
Copy link

which .py file is associated with this please in the repository/project?
Sorry I am new to github and wanting to contribute but don't know which .py file is this issue in. Can you please help? Thanks

@GeorgeDubuque
Copy link

Anyone still working on this one?

@loykid
Copy link

loykid commented Oct 2, 2019

Hi, is it possible for me to try working on this? Is anyone working on it?

@jitenagarwal19
Copy link

Hi, anyone working on this or is it ok if i pick this up?

@Sudipt-panda
Copy link

Is this issue resolved? If not, can I start working on it?

@JeremiahKamama
Copy link

Is anyone assigned to this?I'd love to work on it

@chrisfoose
Copy link

I want to help with this. How can I get started?

@op23n1
Copy link

op23n1 commented Apr 23, 2020

Is anyone currently working on this issue?

@arjundubey-cr
Copy link

is anyone working on this issue? I would like to work if no one is assigned to it

@Sanchayan-Bhowal
Copy link

is anyone working on this issue if no please feel free to assign me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests