Stream live tweets across the world in real time on a world map.
This web app attaches to the Twitter Streaming API and extracts tweets with geo data using an open source python library Tweepy that act as a communicator to Twitter API.
- Install Flask a server side framework for Python.
pip install flask
- Clone the repo
https://github.com/7saheelahmed/Real-Time-Twitter-Stream.git
-
Create a Twitter App account on Twitter Developer Platform and use access tokens for api request authentication.
-
Install Tweepy
pip install tweepy
- Go to your flask folder open scripts and run activate on terminal to start the server.
cd flask\Scripts
activate
- Now go to repository and run app.py on terminal to start the application
cd Real-Time-Twitter-Stream
python app.py
- Go to your http://localhost:5000 And that's it !!