Channel IDs and Channel Secrets, which are required for LINE integration with Jicoo, can be created by following the steps below.
Register an official LINE account
Create a Messaging API for Jicoo integration
Obtain a LINE Login Channel for Jicoo integration
When creating a Messaging API, a Channel ID and Channel Secret will be created for the LINE Connections friend registration settings. Also, by creating a LINE Login Channel, a Channel ID and Channel Secret will be created to be entered in the LINE Connections login settings.
Registering an Official LINE Account
An official LINE account is required to link Jicoo and LINE. If you do not have one, please click here to register a new official LINE account.
*Image reference: LINE for Business
How to create a Messaging API for Jicoo integration
By creating a MessagingAPI, a “Channel ID” and “Channel Secret” will be created for input into the friend registration settings for LINE integration.
In order to create a Messaging API, you need to activate the use of Messaging API from the LINE Official Account Manager. To activate the use of Messaging API, please follow the steps below.
Log in to LINE Official Account Manager with your LINE Official Account.
*Image reference: LINE Official Account Manager
Click on the appropriate account name
*Image reference: LINE Official Account Manager
On the LINE Official Account Manager home, click “Settings” in the upper right corner of the page
*Image reference: LINE Official Account Manager
Click “Messaging API” from the settings menu on the left side of the page
*Image reference: LINE Official Account Manager
Click on “Enable Messaging API"
*Image reference: LINE Official Account Manager
Enter register developer info, and click "Agree"
*Image reference: LINE Official Account Manager
Check Register developer info and click "OK"
*Image reference: LINE Official Account Manager
Enter provider name and click "Agree"
*Image reference: LINE Official Account Manager
Check provider name and click "OK"
*Image reference: LINE Official Account Manager
Provider is created and Messaging API is available
*Image reference: LINE Official Account Manager
Enter the Messaging API “Channel ID” and “Channel secret” in Jicoo's LINE Settings > Friend Registration Settings “Channel ID” and “Channel secret
How to obtain a LINE login channel for Jicoo integration
By creating a LINE Login channel, a “Channel ID” and “Channel Secret” will be created for you to enter in the login settings for LINE integration.
To create a LINE Login Channel, please follow the steps below.
Log in to the LINE Developers console
Click on the provider you created in step 8 of how to create a Messaging API for Jicoo integration
Click on the account name you created in step 6 of how to create a Messaging API for Jicoo integration
Enter the “Channel ID” and “Channel Secret” shown in the Basic Channel Settings into the “Channel ID” and “Channel Secret” fields in Jicoo's LINE Settings page > Login Settings
Next, check the channel settings and enter the callback URL.
When using the LINE Login channel for web apps, the [App Type] and [Callback URL] must be set correctly.
Click the [Channel Basic Settings] tab and confirm that [Web App] is displayed in [App Type].
Click the [LINE Login Settings] tab and enter the callback URL
https://api.jicoo.com/v1/integrations/line/auth
Seeing "400 Bad Request" or "Invalid redirect_uri value" errors with LINE Integration?
When you try to connect your service with LINE, you might sometimes see error messages like "400 Bad Request" or "Invalid redirect_uri value." This usually happens when there's a mismatch in the "return address" (URL) settings between your service and LINE.
Here’s how to check and fix this.
Why does this error occur?
This error occurs because after LINE verifies your information, the internet address (URL) where LINE should send you back doesn't match what LINE expects and what your service is set up to use.
What to check to resolve this
The main thing to check is whether the correct "Callback URL" is registered in the LINE Developers Console (LINE's settings screen for developers).
Open the LINE Developers Console
Go to the LINE Developers Console.
(If you're unsure how to access this, please check with your service administrator.)
Select the relevant "Channel"
Choose the "LINE Login" channel you are using for the integration.
Check and set the "Callback URL"
In the channel settings, find an item called "Callback URL."
Please set the following URL here.
https://api.jicoo.com/v1/integrations/line/auth
Other Points
Exact URL match is crucial: The "return URL" that your system tells LINE and the "Callback URL" you set in the LINE Developers Console must be an exact match, including capitalization.
Differences between environments: If you use different internet addresses (domains) for a testing environment and your live (production) environment, you'll need to set the correct Callback URL in the respective LINE Channel settings for each environment.