Giter Site home page Giter Site logo

mysticaltech / susi_viberbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fossasia/susi_viberbot

0.0 2.0 0.0 4.52 MB

Viberbot for SUSI AI http://susi.ai

License: Apache License 2.0

Dockerfile 0.19% JavaScript 98.41% Shell 1.11% HTML 0.20% CSS 0.10%

susi_viberbot's Introduction

Getting Started : Viber Susi AI Bot Installation

It's easy for you to create your own Viber messenger bot and integrate susi's API into it. You can read the documentation on how to make a public account in Viber and get started.

Messenger bots uses a web server to process messages it receives or to figure out what messages to send.

Prerequisites

To create your account on -:

  1. Viber
  2. Github
  3. Heroku

Setup your own Messenger Bot

  1. Fork this repository.

  2. Request for a public account on Viber.

Fill this form

alt text

Follow the instructions for verification as indicated by viber.

  1. After verification, create and setup the public account.

Click Second button from top-right, to discover public accounts made by you.

alt text

Click blue button at bottom-right, to create a new one.

alt text

Click Join Now to start setting it up.

alt text

After filling the required details click Continue

alt text

Add more specific details.

alt text

Select Viber chat Api as your chat Solution.

alt text

Copy the public account key. (It will be in the area that is coloured gray).

alt text

  1. Create a new heroku app here.

This app will accept the requests from Viber and Susi api.

alt text

  1. Create a config variable by switching to settings page of your app. The name of your config variable should be X_VIBER_AUTH_TOKEN and its value is the API key generated in step 3.

    alt text
  2. Change the url in set webhook request options that is on line 33 in index.js file to https://YOUR-HEROKU-APP-NAME.herokuapp.com enclosed in ' '. Commit and push the changes to this forked repository.

  3. Connect the heroku app to the forked repository.

Connect the app to Github by selecting the name of this forked repository.

alt text

  1. Deploy on development branch. If you intend to contribute, it is recommended to Enable Automatic Deploys.

Branch Deployment.

alt text

Successful Deployment.

alt text

  1. Now, visit the created heroku app from a browser, and check if the status message received for set Webhook request is - ok. That means the webhook is successfully set.

This should be the output.

alt text

  1. Go to the Viber public account created and click the symbol indicating 1-on-1 chat with Susi at your top right(second symbol).

1-on-1 chat

alt text

  1. Enjoy chatting with Susi.

alt text

susi_viberbot's People

Contributors

aliayub007 avatar manveer695 avatar mariobehling avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.