This is a simple echo bot on LINE bot. (python)
- LINE developer account
- LINE Messaging API
- Install serverless via npm
$ npm install -g serverless
- Setup your AWS ceritficate
$ export AWS_ACCESS_KEY_ID=<your-key-here>
$ export AWS_SECRET_ACCESS_KEY=<your-secret-key-here>
- Setup you line bot secret & key
line_bot_api = LineBotApi('YOUR_CHANNEL_ACCESS_TOKEN')
handler = WebhookHandler('YOUR_CHANNEL_SECRET')
- Deploy the webhook function
$ npm install
$ serverless deploy