This is a sample bot inspired by [Sample Viber Bot] (https://github.com/Viber/sample-bot-isitup/archive/master.zip) provided by Viber team.
Just follow the tutorial.
- Clone the repository
git clone https://github.com/Viber/sample-bot-isitup myviberbot
cd myviberbot
-
Get your Public Account authentication token
-
We will deploy the bot with now CLI. To get started using
now
, install it fromnpm
npm install -g now
- Let's deploy our bot with access token . Edit the following command with your access token and run it in the cloned repository folder
now -e VIBER_PUBLIC_ACCOUNT_ACCESS_TOKEN_KEY="YOUR_PUBLIC_ACCOUNT_TOKEN"
That's it! Now your bot is deployed. Start talking with it in your Viber app. Simply navigate to your public account and click on the Message
button.
See the LICENSE file (MIT).