LINE Messaging API echo bot. Official Ruby SDK's example with tweaks for Heroku.
- Open LINE Business Center
- Go to Accounts (アカウントリスト)
- Messaging API -> LINE Developers
- Channel Secret -> SHOW -> copy and memo it
- Channel Access Token -> copy and memo it
- Fill
LINE_CHANNEL_SECRET
with Channel Secret - Fill
LINE_CHANNEL_TOKEN
with Channel Access Token
At dashboard.heroku.com:
- Manage App -> Overview -> Fixie
- Account -> Outbound IPs -> copy and memo it
At developers.line.me:
- Server IP Whitelist -> IP address -> Fill FIXIE Outbound IPs -> ADD
- Add alL Outbound IPs
At dashboard.heroku.com:
- Open app -> Copy app URL and memo it
At developers.line.me:
- Basic information -> EDIT -> Webhook URL -> Fill it with
${APP_URL}/callback
-> SAVE -> VERIFY (ensure Success.)