Skip to content

Viber Receiver node

Guidone edited this page May 29, 2018 · 6 revisions

In order to create a chatbot in Viber, you have to register at the parters site here, then click on "Create Bot account". Fill in the form then the copy the access token.

Like other platforms, Viber requires a callback URL to send the notifications and must be public visible, in order to test in your local environment, you can use ngrok to createa bridge between a public address and your local instance of RedBot

ngrok http localhost:1880

And grab the forwarding https address

image

It should be someting like https://abc12345.ngrok.io. Now create a new Viber configuration for DEV and fill in the access token and the webhook url **https://abc12345.ngrok.io**_/redbot/viber_ (replace the bold part of this URL with your forwarding https address)

Clone this wiki locally