Skip to content

A demo server to send messages through LINE notify

License

Notifications You must be signed in to change notification settings

calmelated/line-notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

line-notify

A demo server to send messages through LINE notify

Setup on OpenShift

  • You need to have an OpenShift account first.
  • Login to OpenShift Web management console
  • Create an cartridge for the latest Node.js and git clone this project to your cartridge
  • After the process, OpenShift will do the rest things.

Setup on LINE Notify

  • Create a new LINE notify
  • Fill in the required information
  • Make sure your Callback URL is: https://[your-cartridge].rhcloud.com/add-notify-user
  • Get your CHANNEL_TOKEN from web console and paste it to the file line-notify.js

Setup on your LINE

  • First, login your LINE on PC/mobile
  • Acceess https://[your-cartridge].rhcloud.com/oauth.html by the browser
  • Click connect to create an OAuth2 connection between LINE Notify and your cartridge, then your server is alllow to send notifications.
  • Send test messages by: curl -X GET https://[your-cartridge].rhcloud.com/line-notify

Reference

Demo

demo

About

A demo server to send messages through LINE notify

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published