Name Last Update
exampleMassage Loading commit data...
services Loading commit data...
.eslintrc.json Loading commit data...
.gitignore Loading commit data...
README.md Loading commit data...
Z-MessageList.postman_collection.json Loading commit data...
config.json Loading commit data...
flexMsg.js Loading commit data...
index copy.js Loading commit data...
index dynamic.js Loading commit data...
index.js Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
test.json Loading commit data...

README.md

line-bot-nodejs-starter

starter point to create new line bot project

How it work

Start express server to handle webhook from LINE

Install

Clone and run

npm install

Modify config.json

{
  "port" : "3000",
  "channelAccessToken": "YOUR_CHANNEL_ACCESS_TOKEN",
  "channelSecret": "YOUR_CHANNEL_SECRET"
}

Run

npm start

then you can access http://localhost:3000

Use ngrok to expose your local url

path/to/ngrok http 3000

config webhook url in developer console then enjoy your bot!

Author

Sitthi Thiammekha