Comments (6)
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.
@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.
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.
the secret keys will be the same for every issue that the user creates, right?
from youpin-bot.
@heytitle Yes, I think so. Right, ta? @tvirot
from youpin-bot.
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)
- Use a proper framework to handle i18n strings HOT 1
- Implement refresh token when token expires
- Stop asking for a location if a photo can provide EXIF location HOT 1
- Report a problem (skip the menu/choices) if the first message is a photo HOT 2
- Remove duplicate tags HOT 6
- [Feature] Suggest similar pins
- Create dev environment for testing HOT 1
- Create secret love from Auntie YouPin <3 HOT 1
- Test API's video upload routing
- Test 3rd-party app API KEY
- Chosen categories should not reappear in the category list HOT 3
- Create unit tests HOT 4
- Add contributing guideline
- Create state diagram of chat flow. HOT 2
- Fix linting issues HOT 10
- More neutral voice to the bot's speech HOT 1
- Bot is too persistent when user gave description too short HOT 1
- Change pin URL
- Mapping Facebook bot's and YouPin's user
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from youpin-bot.