Connect a LINE Official Account
Create a Messaging API channel in the LINE Developers Console and connect it to Fahsai.
Step-by-step
- Step 1
Create the LINE OA and a Messaging API channel
Open the LINE Developers Console, pick the provider you want, then create a channel of type Messaging API linked to your LINE Official Account. If you do not have an OA yet, create one in the LINE Official Account Manager first.
Heads upIt must be a Messaging API channel — a LINE Login channel cannot receive customer messages.Screenshot pendingCreate the LINE OA and a Messaging API channel - Step 2
Copy the Channel Secret
Open your new channel, go to the Basic settings tab and copy the Channel secret. Fahsai uses it to verify that incoming messages really come from this channel.
Heads upNever share the Channel secret outside your team. If it leaks, issue a new one in the LINE Console and update it in Fahsai right away.Screenshot pendingCopy the Channel Secret - Step 3
Add the LINE channel in Fahsai
In Fahsai, open the channels page, choose to add a LINE channel, fill in the fields listed below and save.
Fields to fill in FahsaisecretCHdisplayNameTipSet displayName to match the real OA name so your team can tell channels apart once you have several.Screenshot pendingAdd the LINE channel in Fahsai - Step 4
Copy the webhook URL Fahsai generates
Once the channel is saved, Fahsai generates a webhook URL unique to this channel. Copy it — you need it in the next step.
TipEach channel has its own webhook URL. If you run several OAs, copy them one channel at a time so they do not get mixed up.Screenshot pendingCopy the webhook URL Fahsai generates - Step 5
Paste the webhook URL in the LINE Console and turn on Use webhook
Back in the LINE Developers Console, open the Messaging API tab, paste the URL into the Webhook URL field, press Update, then switch Use webhook on.
Heads upAlso turn off Auto-reply messages and Greeting messages in the LINE Official Account Manager — otherwise customers get LINE's canned replies on top of the answers from Fahsai.Screenshot pendingPaste the webhook URL in the LINE Console and turn on Use webhook - Step 6
Check that the channel is live
Press Verify in the LINE Console to test the connection, then message the OA from a personal account. If everything is set up correctly the message shows up in the Fahsai inbox within seconds and the channel status turns active.
Screenshot pendingCheck that the channel is live