Line Robot (LineageM_Assistant)

Abstract
This is a line robot app for mobile game - LineageM. The main features developed with node.js, through the Line Messaging API to achieve automatic reply and push notification and deployment to Heroku, the database uses MySQL.

Line Messaging API
https://developers.line.me/en/docs/messaging-api/overview/

The Messaging API allows for data to be passed between the server of your bot application and the LINE Platform. When a user sends your bot a message, a webhook is triggered and the LINE Platform sends a request to your webhook URL. Your server then sends a request to the LINE Platform to respond to the user. Requests are sent over HTTPS in JSON format.


Follow Getting started to complete the following steps
  • Step 1: Log in to the console
  • Step 2: Register as a developer (only on first login)
  • Step 3: Create a new provider
  • Step 4: Create a channel

GitHub
https://github.com/cjo4m06/eatBoss

  • Step 1: Fork a repository (GitHub Help - Fork A Repo)
  • Step 2: Update file 'app.js' (fill in 'Line Messages Api' and 'MySql database' information)




HeroKu
https://www.heroku.com/

  • Step 1: Create a Heroku account
  • Step 2: Create new app
  • Step 3: Deploy


  • Step 4: Add config variables


  • Step 5: Install add-ons JawsDB MySQL


Line Messaging API
https://developers.line.me/en/docs/messaging-api/overview/

  • Step 1: Enable webhooks and fill in the webhook URL (make sure verify success)


JawsDB MySQL

  • Step 1: Download HeidiSQL
  • Step 2: Create tables

這個網誌中的熱門文章

Windows10 版本1607後可啟用支援長路徑檔名 (Maximum Path Length Limitation)

標準使用者如何執行需系統管理者權限的程式