LINE
LINE adapter using Messaging API Webhook.
Prerequisites
- Create a Provider and Channel (Messaging API) at LINE Developers.
- Obtain Channel Access Token and Channel Secret.
- Webhook URL:
https://<your-public-host>/line; set Use Webhook = Enabled.
Environment
export LINE_CHANNEL_ACCESS_TOKEN=...export LINE_CHANNEL_SECRET=...export LINE_WEBHOOK_HOST=0.0.0.0export LINE_WEBHOOK_PORT=16670export LINE_WEBHOOK_PATH=/lineThread semantics
LINE is 1:1 or group; thread key = userId or groupId.
Troubleshooting
- Signature validation failed:
LINE_CHANNEL_SECRETwrong; signature algorithm is HMAC-SHA256. - Reply token expired: this adapter sends task responses with LINE push messages; reply tokens are only part of incoming webhook metadata.