This guide will walk you through integrating LINE Bot with Pathors, covering provider creation, Messaging API, LINE login, access token, channel secret, and webhook setup.

Step 1: Create a Provider

  1. Go to the LINE Developers Console
  2. Click “Create a new provider” and enter a provider name (Chinese characters only)

Step 2: Create Messaging API

  1. Due to recent updates, use the special form to create a Messaging API channel
  2. Fill in the required information (account name, email, company info, etc.) and submit
  1. After creation, click “Enable Messaging API” on the page

Step 3: Create LINE Login

  1. Under your provider, select “Create a LINE Login channel”
  2. Follow the instructions to complete the setup

Step 4: Get Channel Secret & Access Token

  1. Go to the LINE Biz Admin Console
  2. Select the Messaging API you just created
  1. Click “Settings” in the top right
  2. In the left menu, select “Messaging API”
  1. You will find the Channel Secret and can set the webhook URL here
  1. Click the “Channel access token” button and follow the instructions to issue a long-lived channel access token

FAQ

  • Both channel access token and channel secret are required; get them from the Messaging API and LINE login pages respectively
  • The webhook URL can be set on the Messaging API page