Skip to content

Instantly share code, notes, and snippets.

@Kaorw
Kaorw / tweet_dumper.py
Last active Apr 8, 2019 — forked from yanofsky/tweet_dumper.py
There is no exception for error (ex. incorrect ID, Not public, etc.), please check all ID before run the code
View tweet_dumper.py
# Grap multiple user's user_timeline from twitter API and save to Excel
# Code will be save user's tweet ID, created Time, Coordinates-x, Coordinates-y, source, text. Can be modified at line 48 and so on
# Original code from https://gist.github.com/yanofsky/5436496 "A script to download all of a user's tweets into a csv"
import xlsxwriter
import tweepy
#https://github.com/tweepy/tweepy
consumer_key = "Your_consumer_key"
You can’t perform that action at this time.