Skip to content

Instantly share code, notes, and snippets.

acapshaw / gist:771529c447fd4e85ded01a9843ee6872
Created Jun 26, 2018
Trying to Pull Tweets Specified to Certain Long/Lat...
View gist:771529c447fd4e85ded01a9843ee6872
Hi all, I'm trying to extract earthquake tweets from Twitter with specific long/lat coordinates thand en store into csv file..
However, the result returns tweets NOT specific to locaiton parameters, does anyone know why? Here is my code:
csvFile = open('seattle.csv', 'a')
csvWriter = csv.writer(csvFile)
for tweet in tweepy.Cursor(,q="#earthquake",count=100,
location= "47.6126,-122.6222, 50mi",
You can’t perform that action at this time.