-
Notifications
You must be signed in to change notification settings - Fork 135
Client LINE
LINE Messenging is a freeware app for instant communications on electronic devices such as smartphones, tablet computers, and personal computers. Line users exchange texts, images, video and audio, and conduct free VoIP conversations and video conferences. The service is operated by Line Corporation, a Japanese subsidiary of the South Korean internet search giant Naver Corporation.
For a great introduction on how to setup a Line bot, and obtain the neccassary permissions and tokens, head over to the Line Documentation
Line Client operates as a webhook REST server, so the config required reflects this. Like all Program-Y REST clients it requires host, port and debug flags as follows in config.yaml
line:
host: 127.0.0.1
port: 5000
debug: false
In addition, once you have regsitered your bot with Line, you can create the channel secret and access token and add them to the license.keys file as follows
LINE_CHANNEL_SECRET = XXXXX
LINE_ACCESS_TOKEN = XXXXX
To run the Facebook client, you can use the shell script in Y-Bot scripts folder
./y-bot-line.sh
Or you can use the command line
python3 -m programy.clients.rest.flask.line.client --config <PATH TO CONFIG> --cformat yaml --logging <PATH TO LOGGING>
Email: keiffster@gmail.com | Twitter: @keiffster | Facebook: keith.sterling | LinkedIn: keithsterling | My Blog
- Home
- Background
- Guiding Principles
- Reporting an Issue
- Installation
- You And Your Bot
- Bots
- Clients
- Configuration
- AIML
- Sentence Splitting
- Natural Langauge Processing
- Normalization
- Spelling
- Sentiment Analysis
- Translation
- Security
- Hot Reload
- Logging
- Out of Band
- Multi Language
- RDF Support
- Rich Media
- Asynchronous Events
- Triggers
- External Services
- Dynamic Sets, Maps & Vars
- Extensions
- Pre & Post Processors
- Custom Nodes
- The Brain Tree
- Utilities
- Building It Yourself
- Creating Your Own Bot
- Contributing
- Performance Testing
- FAQ
- History
- Website