UNPKG

line-bot-sdk

Version:
27 lines (18 loc) 563 B
# LINE Bot API EchoBot Example A LINE Bot API example showing how to receive and return each type of messages. ## Prerequisite - Have a [LINE BOT Trial](https://developers.line.me/bot-api/overview) account running ## Running Locally Set your credentials for LINE Bot API and Simsimi API in index.js Make sure you have [Node.js](http://nodejs.org/) installed. ```sh $ npm install $ npm start ``` Your app should now be running on [localhost:5000](http://localhost:5000/). ## Deploying to Heroku ``` $ git init $ heroku create $ git push heroku master ```