Giter Club home page Giter Club logo

susi_tweetbot's Introduction

susi_tweetbot

Build Status

How to chat with Susi AI bot on Twitter

Visit your twitter account and tweet to @SusiAI1 with your query and enjoy a tweet back from the Susi AI bot account!

Also, you can enjoy personal chatting with Susi. Follow the SUSI AI account on twitter here and have a personal chat with it. twitter chat

Getting Started : Twitter Susi AI Bot Installation

We will make a Susi messenger bot account on Twitter. This account will tweet back when it's name is mentioned in a tweet. Also, 1-on-1 auto chat will be inculcated to our account.

Make a new account, which you want to use as the bot account. You can make one from here.

Prerequisites

To create your account on -:

  1. Twitter
  2. Github
  3. Heroku

Setup your own Messenger Bot

  1. Fork this repository.

  2. Make a new app here, to know the access token and other properties for our application. These properties will help us communicate with Twitter. twitter app

Click "modify the app permissions" link, as shown here: twitter keys

Select the Read, Write and Access direct messages option: twitter permissions

Don't forget to click the update settings button at the bottom.

Click the Generate My Access Token and Token Secret button.

  1. Create a new heroku app here.

This app will accept the requests from Twitter and Susi api. create heroku app

  1. Create a config variable by switching to settings page of your app.

    The name of your first config variable should be HEROKU_URL and its value is the url address of the heroku app created by you. config variables

    The other config variables that need to be created will be these: twitter config variables

    The corresponding names of these variables in the same order are:

    1. Access token
    2. Access token secret
    3. Consumer key
    4. Consumer secret

    We need to visit our app from here, the keys and access tokens tab will help us with the values of these variables.

  2. Connect the heroku app to the forked repository.

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

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

Branch Deployment. branch selection

Successful Deployment. heroku deployment

  1. Visit your own personal account and tweet to this new bot account with your query and enjoy a tweet back from the bot account!

  2. Also, you can enjoy personal chatting with Susi. twitter chat

Feel free to play around with the already made SUSI AI account on twitter here. Follow it, to have a personal chat with it.

susi_tweetbot's People

Contributors

manveer695 avatar mariobehling avatar aliayub007 avatar hoangvanthien avatar niranjan94 avatar pri22296 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.