Giter VIP home page Giter VIP logo

Comments (6)

p16i avatar p16i commented on July 19, 2024

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?

from youpin-bot.

rapee avatar rapee commented on July 19, 2024

@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 ?

from youpin-bot.

tvirot avatar tvirot commented on July 19, 2024

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.

from youpin-bot.

p16i avatar p16i commented on July 19, 2024

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

from youpin-bot.

rapee avatar rapee commented on July 19, 2024

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

from youpin-bot.

rapee avatar rapee commented on July 19, 2024

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.

from youpin-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.