Giter VIP home page Giter VIP logo

twitterdataanalysis's Introduction

TwitterDataAnalysis

Authentication

In order to access Twitter APIs, we need to get 4 pieces of information from Twitter: API key, API secret, Access token and Access token secret. Follow the steps below to get all 4 elements:

  1. Create a twitter account if you do not already have one.
  2. Go to https://apps.twitter.com/ and log in with your twitter credentials.
  3. Click "Create New App"
  4. Fill out the form, agree to the terms, and click "Create your Twitter application"
  5. In the next page, click on "API keys" tab, and copy your "API key" and "API secret".
  6. Scroll down and click "Create my access token", and copy your "Access token" and "Access token secret".
  7. Now store these values in API_DATA.py file in SentimentAnalysisModule folder.(Format given in sample file)

Run

  1. Run the script indiaagainstcorruption.py using the command.
    $ python hashtag.py search_term _hashtag Note: append '_' with a hashtag you want to search for.

  2. See the output in hashtag_tweet.json

twitterdataanalysis's People

Contributors

gangeshwark avatar abhijith0505 avatar

Stargazers

Neha Shivaprasad avatar  avatar

Watchers

 avatar

Forkers

abhijith0505

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.