nycger.blogg.se

Viber web interface
Viber web interface









viber web interface

It will then automatically create the right web hooks for the Viber bot platform. While deploying, Claudia will ask for your Viber Public Account Access Token. The api-module parameter is the name of your JavaScript module (if you saved the code as bot.js, this will be just bot). You can now deploy the bot to AWS: claudia create -region us-east-1 -api-module bot -configure-viber-bot Later on, we’ll modify it to do something more interesting. This bot will just reply back with the same message it received. exports = botBuilder ( function ( request ) ) Create a file called bot.js with the following content: var botBuilder = require ( ' claudia-bot-builder ' ) module. Let’s first create a very simple bot, just to check that everything is configured correctly.

viber web interface

Just make sure to give it a descriptive name: npm initĪdd the claudia-bot-builder library as a project dependency: npm install claudia-bot-builder -S Creating a Viber botįirst, create an empty folder, and a new NPM project inside it. You’ll need this later to configure the bot. After your Public Account is approved, you will be able to get the authentication token from the Public Account. The PA represents an account of a company, celebrity, person or product. To create a Viber bot, you will need to create a Public Account (PA). If you’re completely new to using Claudia.js, check out Installing and configuring Claudia.js for information on how to set up access credentials.

  • An AWS account with the permissions to create Lambda functions, API Gateway end-points and IAM roles.
  • Node.js 8.10 with NPM (Node 6 is also supported by Lambda).
  • In this set-by-step tutorial, you’ll learn how to create a Viber chat-bot and deploy it to AWS Lambda. Claudia Bot Builder, since version 2.5.0, allows you to easily create and deploy chat bots for the new Viber platform. Viber recently opened up an interface for chat-bot automation.











    Viber web interface