Line

Skip to end of metadata
Go to start of metadata

This page is a step-by-step guide for the process of opening and setting up an external application in LINE as part of the Gigya Setup process.

Note: If your site is defined under one of Gigya's non-US data centers, replace domain references to (http:// or https://) "socialize.gigya.com" (or "socialize.us1.gigya.com") with https://socialize.<data_center>/

Where <Data_Center> is:
  • us1.gigya.com - For the US data center.
  • eu1.gigya.com - For the European data center.
  • au1.gigya.com - For the Australian data center.
  • ru1.gigya.com - For the Russian data center.
  • cn1.gigya-api.cn - For the Chinese data center.

If you are not sure of your site's data center, see Finding Your Data Center.

Domain references are defined in Gigya's dashboard, externally in social network app definition pages, and when using Gigya's SDKs to set the domain (in particular the APIDomain field in class GSRequest). 

When using any 3rd Party Apps with Gigya, it is important to ensure that you Enable retrieving user contacts from the Permissions page of the Console prior to making your app live. This enables basic username and email retrieval for your users from providers that don't consider this an elevated permission.

 

Phase 1 - Creating Your Application In LINE

You must be a LINE Partner in order to create an application. You can apply to become a Partner here.

Optional: If you are planning on configuring a domain alias (CNAME), please insert your alias subdomain (CNAME value) instead of 'socialize.gigya.com' and your domain instead of Gigya's domain. i.e., http://[YOUR-ALIAS-SUB-DOMAIN].yoursite.com/GS/GSLogin.aspx? in the Authorized Redirect URLs field of the Authentication page.
Note: Please do not use https.

  1. Log into LINE by going to https://developers.line.me and click the Channels button in the top right-hand corner of the page.

  2. You will be directed to the login page.

  3. Once logged in, click the Channels button from Step 1 again.
    Here you will be able to access any existing apps and create new ones.
  4. Click Add a new Channel from the top left-hand menu.

  5. Complete the following fields:
    • Name
    • Description
    • Select the Application type
      • NATIVE_APP
      • WEB

        Important: Gigya currently only supports Application Type: WEB
    • Application icon
      • Large (256x256 px)
      • Thumbnail (80x80 px)
    • Allowed permissions
      • These are the permissions you were approved for at the Partner level and are not editable on a per-application basis.

        Important: Gigya currently only supports Allowed Permissions: PROFILE. If your account is approved for permissions higher than Profile (i.e., Friends), it may not work correctly.
    • Provider
      • This is the Provider selected at the Partner level and is not editable on a per-application basis.
    • Partner
      • This is the Partner selected at the Partner level and is not editable on a per-application basis.
    • Status
      • This is the current Status of the app and is not editable until after the application is created.
    • Contact mailing list address
    • Expected release date

  6. After clicking Save you will be returned to the app page and see the following notice.

  7. At the bottom of the page there is now a Submit button that you need to press to complete the process.


     
  8. Once you click the Submit button you will be presented with a popup:


     
  9. Fill in the comment section and press Submit.
  10. If you did not incur any errors your app will now be created, however, you will need to return to the Channels page to view the app out of 'Review' status. 

  

Phase 2 - Additional LINE Configuration

When selecting your new app from the top left-hand menu of the Channels page on the LINE website you will now be able to edit additional configurations.

Basic Information

Navigating to the Basic information tab you will be able to retrieve your Channel ID and Channel Secret, which will be needed in Phase 3 - Configuring LINE's Application in Gigya's Console.

Technical Configuration

In the Technical configuration tab you will see the specifications of your app.

The Technical configuration tab is where you will define your Authorized Redirect URL's using the Edit button and entering them one per line.

If you are using a CName, be sure to include the correct URI in this field. The below screenshot is just an example.

 

Roles

On the Roles tab you will be able to view the roles for users with access to your app, as well as add additional users.

Any user you wish to add must have a LINE User ID.

 

View Statistics

On the View statistics tab you can view the specific stats for your app within a given time frame.

 

Developement Of Your App

While your app is in Development status, you add users via the Roles tab described above, in order for them to have access to the app.

Once you move the Status of your app to PUBLISHED (described below) it will become Live and visible/usable to all.

Moving Your App To Production

  1. When the development mode of your application is complete, login to your LINE account and return to the Channels section as described above.
  2. Navigate to the particular app you want to move to production from the left-hand menu (if you have more than one).
  3. Press the EDIT button.


     
  4. Here you can adjust the Status of your app.


     
  5. Once changed, press the SAVE button. Your app is now live. 

Phase 3 - Configuring Line's Application Keys in Gigya's Console

  1. Go to the Dashboard section of Gigya's website.
    Note: If you are not signed in to Gigya, please go to http://console.gigya.com and sign in.
     
  2. Press the Site Settings button that corresponds to the domain you wish to configure. You will be redirected to the Site Settings page for that domain.


     
  3. Select Providers Configurations from the left-hand menu.

  4. On the Providers Configurations  page, open the LINE settings dialog by clicking on the corresponding button.

  5. Paste the Channel ID and Channel Secret from the beginning of Phase 2 in to the corresponding fields:

     
     
  6. Click OK and then click the Save Settings button (located at the lower right-hand corner of the Provider Configurations page).

 

That's it, Line configuration is complete! Please note that it can take up to 10 minutes for any changes to synchronize with LINE.


  • No labels