
Python script that gets Twitter users' tweets location
Python script that gets Twitter users' tweets location
Made with
by <a href=https://twitter.com/MazenElzanaty>Mazen Elzanaty
TwLocation should work on all Linux distros running Python 2.7 First, clone it by entering the following command in the terminal
git clone https://github.com/MazenElzanaty/TwLocation.git
Now navigate to TwLocation directory
cd TwLocation
Now install the requirements with the following command
pip install -r requirements.txt
Edit config.txt and put your twitter app keys
cat config.txt
consumer_key = "XxXxXxxXXXxxxxXXXxXX"
consumer_secret = "xXXXXXXXXxxxxXxXXxxXxxXXxXxXxxxxXxXXxxxXXx"
access_key = "XXXXXXXX-xxXXxXXxxXxxxXxXXxXxXxXxxxXxxxxXxXXxXxxXX"
access_secret = "XxXXXXXXXXxxxXXXxXXxXxXxxXXXXXxXxxXXXXx"
Now you can run TwLocation
python TwLocation.py