-
-
Notifications
You must be signed in to change notification settings - Fork 232
LINE Client
Bofu Chen edited this page May 12, 2019
·
4 revisions
IMPORTANT: This page is being updated and the content might not be 100% correct.
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.

- Create a LINE channel
- Follow the official document.
- Choose Messaging API channel.
- Add the channel as your LINE friend
- Scan the channel QR code by your LINE mobile app.
- 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.
-
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';
-
Run BerryNet LINE client
$ nodejs /usr/local/berrynet/line.js
-
Now, you can receive BerryNet inference results from your LINE mobile app.