Overview

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)
Create a new provider

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
Messaging API creation form
Form filled to create Messaging API
  1. After creation, click “Enable Messaging API” on the page
Enable Messaging API

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
Select Messaging API and go to settings
  1. Click “Settings” in the top right
  2. In the left menu, select “Messaging API”
Click Messaging API menu
  1. You will find the Channel Secret and can set the webhook URL here
Set webhook and get Channel Secret
  1. Click the “Channel access token” button and follow the instructions to issue a long-lived channel access token
Issue 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