Source code from Live Coding a Chatbot in LINE THAILAND DEVELOPER CONFERENCE 2019
Cloud Functions is a hosted, private, and scalable Node.js environment where you can run JavaScript code. Cloud Functions for Firebase integrates the Firebase platform by letting you write code that responds to events and invokes functionality exposed by other Firebase features.
- Create a channel on the LINE Developers console
- To learn how to get started with Cloud Functions for Firebase by having a look at our Getting Started Guide
- Select Blaze plan for your project in Firebase Console
- Requesting latest score
- Subscription by logo detection
- Geting livescore
- Creating a cron job to send final score