Skip to content

linedevth/LINE-Bot-101-Node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LINE-Bot-101-Node

Code sample for creating LINE Bot by Messaging API

Prerequisites

Initial

  • Create a folder and put app.js in it
  • Replace xxxxx in app.js with your CHANNEL_ACCESS_TOKEN
  • Replace yyyyy in app.js with your USER_ID
  • Open command line tool then shell to folder you created
  • npm init
  • npm install express --save
  • npm install body-parser --save
  • npm install request --save

Start instance

  • Open command line tool then shell to folder you created
  • node app.js (for starting)
  • pkill -9 node (for stopping)

Features

  • Reply Message
  • Push Message

Screenshots

About

Code sample for creating LINE Bot by Messaging API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published