Skip to content

Client Viber

Keith Sterling edited this page Feb 26, 2019 · 2 revisions

Viber is a cross-platform instant messaging and voice over IP (VoIP) application operated by Japanese multinational company Rakuten, provided as freeware for the Microsoft Windows, macOS, Linux, Android and iOS platforms. It requires a telephone computer to operate. In addition to instant messaging, it allows users to exchange media such as images and video records.

For a description on how to register your bot with Viber and access the necessary security tokens, please see the Viber Documentation

Viber configuration requires 2 settings in config.yaml as follows. This defines the name of your bot and the avatar it will display

viber:
  name: Servusai
  avatar: http://viber.com/avatar.jpg

In addition to need to make the security token given in the viber developer website as follows

VIBER_TOKEN = XXXXX

To run the Facebook client, you can use the shell script in Y-Bot scripts folder

./y-bot-viber.sh

Or you can use the command line

python3 -m programy.clients.rest.flask.viber.client --config <PATH TO CONFIG> --cformat yaml --logging <PATH TO LOGGING>
Clone this wiki locally