mayukh18 / BlindChat

a facebook messenger bot that allows users to chat with other people on facebook anonymously
https://m.me/blindchat.go/
MIT License
114 stars 129 forks source link

Age verification gate #2

Closed mayukh18 closed 3 years ago

mayukh18 commented 7 years ago

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 commented 7 years ago

Anyone working on this issue?

Pranav-Rastogi commented 7 years ago

I would like to do this.

mayukh18 commented 7 years ago

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

Pranav-Rastogi commented 7 years ago

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

Pranav-Rastogi commented 7 years ago
mayukh18 commented 7 years ago

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 commented 7 years ago

@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 commented 7 years ago

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

Pranav-Rastogi commented 7 years ago

@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 commented 7 years ago

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

mayukh18 commented 7 years ago

@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 commented 6 years ago

@mayukh18 is it assigned to someone

priyankaatgithub commented 5 years ago

@mayukh18 - Is someone working on this?

jeffistyping commented 5 years ago

@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 commented 5 years ago

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 commented 5 years ago

Anyone still working on this one?

loykid commented 5 years ago

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

jitenagarwal19 commented 4 years ago

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

Sudipt-panda commented 4 years ago

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

JeremiahKamama commented 4 years ago

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

chrisfoose commented 4 years ago

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

op23n1 commented 4 years ago

Is anyone currently working on this issue?

arjundubey-cr commented 4 years ago

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

Sanchayan-Bhowal commented 4 years ago

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