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
Create 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
*WebhookURL is not currently used by JIcoo, so entering it will have no effect. This may change in the future with the addition of new features.*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 create 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
*Image reference: LINE Developers
Click on the provider you created in step 8 of how to create a Messaging API for Jicoo integration
*Image reference: LINE Developers
Click “Create New Channel”.
*Image reference: LINE Developers
Click on “LINE Login” from the channel type
*Image reference: LINE Developers
Enter the “Company or owner's country or region,” “Channel name,” “Channel description,” and “App types,” then click the “Create” button.
*Image reference: LINE Developers
On the provider's page, click on the channel for LINE Login that you created
*Image reference: LINE Developers
Copy the “Channel ID” and “Channel Secret” for the Jicoo linkage and enter them on the Jicoo page. In addition, the status of the channel for LINE login will be changed from “Developing” to “Published”.
*Image reference: LINE Developers
Then set up the official LINE account linked with the Add Friends option.
*Image reference: LINE Developers
If you wish to obtain the guest's email address when logging in to LINE, click on the “Authorization to Obtain Email Address” application. After agreeing to the application conditions, you will be required to upload a screenshot of the text that will be presented to the user regarding the acquisition and use of the email address.
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 [Basic Settings] tab and confirm that [Web App] is displayed in [App Types].
*Image reference: LINE Developers
Click the [LINE Login] tab and enter the callback URL
https://api.jicoo.com/v1/integrations/line/auth
*Image reference: LINE Developers
Troubleshooting
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.
I can't register as a friend after logging in to LINE.
You need to set up an official LINE account linked with the Add Friends option.
Error message. {“data”: “Failed to get LINE channel access token”, “errors”:{}, ‘errorMessage’: “Internal Server Error”}
There is a discrepancy in the MessagingAPI/channel ID and MessagingAPI/channel secret settings.
I set the LINE Channel app type as “Native App” for Jicoo integration, but I cannot use it.
I cannot set the LINE integration settings with Jicoo if the app type is “Native App”.
If you wish to link Jicoo and LINE, you must select “Web App” as the app type only.
Jicoo's LINE login functionality is built upon a system that authenticates on the website (Web App). Therefore, the settings on the LINE side must also be registered as a “Web App” to match this mechanism, otherwise the authentication flow will not function properly.
What happens if I select “Native App”?
An error will occur during the integration process and the login to Jicoo will not be completed successfully.
Due to LINE specifications, once a channel is created as a “Native App”, it cannot be changed to a “Web App” later. In this case, you will need to re-create a new channel with the correct settings (“Web App” only).
Therefore, please be sure to check “Web App” only when configuring.
In the LINE Settings, the “Email Address” checkbox is checked for the information to be retrieved, but the email address is not retrieved when the guest logs in to LINE.
The possible cause is that the permission to retrieve email addresses is “Not Applied” in the LINE channel.
In order to obtain the guest's email address when they log in to LINE, the following two settings must be made.
LINE Settings > Information to collect “Email address” is checked
“Authorization to retrieve email address” for the channel has been applied for in the console of LINE Developers.
*Image reference: LINE Developers
To apply for “Email address acquisition authority” for a channel in the console of LINE Developers:
You can apply for “Email address acquisition authority” for a channel by following the steps below.
Log in to the LINE Developers console
Click on a channel that is linked to Jicoo
*Image reference: LINE Developers
Scroll through the channel basic settings and click the “Apply” button for the email address acquisition authority.
*Image reference: LINE Developers
Upload a screenshot of the portion of the application in which the user is notified, expressly informed, and consents to the acquisition/use of his/her email address upon agreement to the terms and conditions of the application.
*Image reference: LINE Developers