Skip to content

IMPORTANT: This page is being updated and the content might not be 100% correct.

LINE Client

Description

BerryNet LINE client helps send the texts and images of the inference results to your mobile LINE app. So you can receive instant notifications no matter where you are with Internet connection.

LINE agent example

Steps to setup LINE mobile app

  1. Create a LINE channel
  2. Add the channel as your LINE friend
    • Scan the channel QR code by your LINE mobile app.
  3. Get 3 channel settings: user ID, channel secret, and channel access token
    • In Channel settings, go to the Message settings section, and generate a Channel access token by clicking the issue button.
    • BerryNet LINE client needs the settings to send results to this LINE channel.

Steps to use BerryNet LINE client

  1. Add the 3 channel settings into BerryNet configuration file (/usr/local/berrynet/config.js)

    config.LINETargetUserID = 'your-user-id';
    config.LINEChannelSecret = 'your-channel-secret';
    config.LINEChannelAccessToken = 'your-channel-access-token';
    
  2. Run BerryNet LINE client

    $ nodejs /usr/local/berrynet/line.js
    
  3. Now, you can receive BerryNet inference results from your LINE mobile app.