Coder Social home page Coder Social logo

susi_linebot's Introduction

Getting Started With Line SUSI AI Bot:

Build Status

If you want to add SUSI Line bot as a friend Scan this QR Code and if you want to integrate follow steps given below

To integrate SUSI's API with Line bot and you will need to have a line account first so that you can follow below procedure. You can download it from LINE APP.

Pre-requisites:

  • Line app
  • Github
  • Heroku

Steps:

  1. Login/Sign up
  2. Create a LINE@ account with enabled Messaging API on Line Business Center
  3. Configure your bot
  4. Develop your bot
  5. Deploy your bot

1- Login/Sign up:

If you have Line account then move to next step else sign up for an account and make one.

2- Create a LINE@ account with enabled Messaging API:

  • In the Line Business Center, select Messaging API under the Service category at the top of the page.
  • Select either Start using Messaging API.
  • Enter the required information for your new LINE@ account. Confirm the information.
  • Click the LINE@ MANAGER button at the bottom of the confirmation page.
  • Go to the settings and then Bot Settings page of the LINE@ Manager then click Enable API.

LINE_LOGIN

3- Configure your bot:

  • In the LINE@ Manager, go to the Bot Settings, which can be found under "Settings" on the side menu.
  • To reply to messages using webhooks, select Allow for "Use webhooks" under "Request Settings"
  • To participate in group chats, select Allow for the "Allow bots to join group chats" option.
  • To send a customized response message to user messages, select Allow for the "Auto Reply Message" option.
  • To send a customized greeting message when users add your account as a friend, select Allow for the "Greeting Message" option

BOT_SETTINGS

Go to Accounts option at top of page and open LINE Developers from there

  • To issue a Channel access token for accessing APIs, click ISSUE for the "Channel access token" item.
  • Click EDIT and set a webhook URL for your Channel.

CHANNEL_CONSOLE After following these steps your account is ready and you are good to go to develop your bot.

4- Develop your bot:

You can develop your own bot or you can fork this repository and deploy it to heroku.

5- Deploy your bot:

To deploy your bot to heroku you need an account on Heroku and after making an account make an app

NEW_APP

  • Deploy app using github deployment method.

HEROKU_DEPLOY

  • Select Automatic deploys.

AUTOMATIC_DEPLOY

After making app copy this link and paste it in webhook url in Line channel console page from where we got channel access token.

            https:{your_heroku_app_name}.herokuapp.com/webhook

WEBHOOK_URL

SUSI AI BOT:

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.