Skip to content

Instantly share code, notes, and snippets.

@drownranger
drownranger / deloldtweets.py
Created June 23, 2020 13:10 — forked from n-eq/deloldtweets.py
Delete old tweets based on twitter archive
#!/bin/python3
# Fork of https://gist.github.com/davej/113241
# Requirements:
# - twitter API credentials (replace the correponding variables)
# - tweet.js file you get by extracting your twitter archive zip file
# License : Unlicense http://unlicense.org/
import tweepy
import pytz
@drownranger
drownranger / deloldtweets.py
Last active June 23, 2020 13:11 — forked from n-eq/deloldtweets.py
Delete old tweets based on twitter archive
#!/bin/python3
# Fork of https://gist.github.com/davej/113241
# Requirements:
# - twitter API credentials (replace the correponding variables)
# - tweet.js file you get by extracting your twitter archive zip file
# License : Unlicense http://unlicense.org/
# Don't forget to remove the first variable on tweet.js
import tweepy
import pytz