youpin-city / youpin-bot Goto Github PK
View Code? Open in Web Editor NEWYouPin Facebook Messenger Bot
YouPin Facebook Messenger Bot
Stop shameful act (restarting youpin-bot every night) and implement refresh token when jwt token expires. 👍
FB Bot exposes only page-scoped user ID, while YouPin user is validated through FB app-scoped user ID. (Even though both are belonged to the same FB app)
Hack via profile_picture (This should not be the right way to do it 👎 )
Account Linking => New flow? 👎
Ask user for his email directly (#39) @__@
In case that bot-youpin user mapping is not feasible (#38), a bot should ask for user's contact.
If we get user's email, what is the challenges and how possible it is to use email to map to YouPin's users?
Currently, our hacky approach is to use a simply variable to keep track of user sessions. We should migrate this to Redis.
Related to this issue on API (youpin-city/youpin-api#56)
Create secret code that returns YouPin loves to all users 💃
Aunt Youpin bot can suggest similar pin based on location, text, tags, etc. to reduce duplicated pins.
It would be good to have this diagram so that one can easily understand and be able to test the bot.
This tool might be useful : https://www.draw.io
When taking photos contain EXIF location, we can utilise it and stop asking location from the user.
Node.js modules from google's top results:
https://github.com/gomfunkel/node-exif
https://github.com/nathanpeck/exiftool
We already have dev environment functioning for API and web.
We need it for bot so that when API is upgraded, we can then test it properly w/o affecting production one.
Related to youpin-city/youpin-api#64, please try using it.
We currently use a simple ifelse to toggle between Thai and English.
Chang pin URL to: https://admin.icare.eng.chula.ac.th/issue/<PIN_ID>
Previously it is: https://admin.icare.eng.chula.ac.th/issue#!issue-id:<PIN_ID>
For example, in notification email, bot response, etc.
We change /photos/uploadfromurl service name to /photos/upload_from_url
Please change accordingly and upgrade both API and bot at the same time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.