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

Discussion: Ask user's contact email and mobile #39

Open
rapee opened this issue Apr 20, 2017 · 6 comments
Open

Discussion: Ask user's contact email and mobile #39

rapee opened this issue Apr 20, 2017 · 6 comments
Assignees

Comments

@rapee
Copy link
Member

rapee commented Apr 20, 2017

In case that bot-youpin user mapping is not feasible (#38), a bot should ask for user's contact.

  • email (required)
  • mobile

If we get user's email, what is the challenges and how possible it is to use email to map to YouPin's users?

@p16i
Copy link
Contributor

p16i commented Apr 20, 2017

What we could do here is to ask the user whether he/she want to watch the issue or not. by a link to the issue after the submission.

Once the user click on the link, he/she will need to login and the system will automatically add the user to the watching list. If, he/she logins via Facebook then we can do mapping easily.

What do you think?

@rapee
Copy link
Member Author

rapee commented Apr 21, 2017

@heytitle That's one good idea!

Let me clarify this: what we need here is not watcher, but owner. We need a way to validate if the user is the same person talked to the bot, a.k.a. owner.

One idea is to use Messenger page-scoped ID (PSID) as a secret key. When the user click the link /issue/1234?psid=xyz, we map it to user's Facebook app-scoped user ID on YouPin web.

But how is this different from Account Linking ?

@tvirot
Copy link
Member

tvirot commented Apr 24, 2017

I think I like @rapee's idea na. This gives every issue a link so one can track without opting in for notifications.

The difference is that this is not done through Messenger, that is, the account won't be linked explicitly, but the authentication will be done though Messenger's in-app browser.

@p16i
Copy link
Contributor

p16i commented Apr 24, 2017

the secret keys will be the same for every issue that the user creates, right?

@rapee
Copy link
Member Author

rapee commented Apr 25, 2017

@heytitle Yes, I think so. Right, ta? @tvirot

@rapee
Copy link
Member Author

rapee commented Apr 25, 2017

the authentication will be done though Messenger's in-app browser.

@tvirot Oh I forgot it opens in in-app browser. Then user needs to re-login on facebook?

If we're gonna map PSID to AID (app-scoped user ID), bot must tell user to click the generated link.

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

No branches or pull requests

6 participants