Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

📎LINE bot that tells you news related to keywords

Notifications You must be signed in to change notification settings

anoriqq/line-news-bot-heroku

Repository files navigation

line-news-bot-heroku

A barebones Node.js app using Express 4.

This application supports the Getting Started with Node on Heroku article - check it out.

Running Locally

Make sure you have Node.js and the Heroku CLI installed.

$ git clone https://github.com/anoriqq/line-news-bot-heroku.git # or clone your own fork
$ cd line-news-bot-heroku
$ npm install
$ npm start

Your app should now be running on localhost:5000.

LINE setup

Create new channel on the LINE Developer console

Deploying to Heroku

$ heroku create
$ heroku config:set CHANNEL_SECRET=<LINEのチャネルシークレット>
$ heroku config:set CHANNEL_ACCESS_TOKEN=<LINEのチャネルアクセストークン>
$ git push heroku master

or

Deploy to Heroku

then, add webhook URL (https://<heroku app domain>/webhook/) to the channel.

Documentation

For more information about using Node.js on Heroku, see these Dev Center articles:

About

📎LINE bot that tells you news related to keywords

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published