Git Product home page Git Product logo

twitterbot's Introduction

Build A Tweet Bot With Python


What is TwitterBot?

Twitter bot is a terminal application in Python which uses Twitter API and perform the following tasks

  1. Retrieve Tweets
  2. Count the followers
  3. Determine the sentiment
  4. Determine location,language and time zone.
  5. Compare tweets
  6. Analyze top usage
  7. Tweet a message

Why TwitterBot?

This project has great significance in terms of sentiment analysis and comparison of tweets.

In addition to that we can also retrieve the location , language and timezone for the same.


Components of twitterbot

1. Twitter bot requires following things

2. API access token of twitter

3. Client Id and secret

4. Nltk, paralleldots library,tweepy

5. Counters

6. Python requests


Create A Twitter Account


The first step is creating a Twitter account https://twitter.com/signup. Once this is done the next step is to create a new application.


Create a Twitter App


Go to apps.twitter.com and click on 'Create New App ' button

Image of create new app


* Fill out the details of the form correctly

Image of create new app


* Read the developer agreement section, and check the box at the bottom if you agree. Then click on

the ‘Create your Twitter application’ button

Image of create new app


Keys and Access Tokens

In order to post to a Twitter account automatically, you have to get access keys for your account.


After creating your new app, you would be redirected to its own page. If you weren’t, go to apps.twitter.com and click on your app's name.

Image of create new app


On the app’s page, click on the ‘Keys and Access Tokens’ tab

Image of create new app


At the bottom of this page, click on the ‘Create my access token’ button.

Image of create new app


Make sure you make note of the following four keys, as you will need these later.

Image of create new app


Image of create new app


Objectives Achived

  • Get the access token , Client secret and Client Id of the Twitter Api For the developers.

                                        Thankyou                                                
    

twitterbot's People

Contributors

gaurav-210 avatar

Stargazers

nonfunjible avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

mukeshdubey1420

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.