3 ms·
I created my own Twitter Go project yesterday: https://github.com/buro9/deleteoldesttweet https://github.com/buro9/deleteoldesttweet The aim of that one is to
by buro9 10y ago
I created my own Twitter Go project yesterday:
https://github.com/buro9/deleteoldesttweet https://github.com/buro9/deleteoldesttweet
The aim of that one is to delete all tweets... but, to do so by scraping Twitter's "First Tweet" page for the oldest tweet.
This needs to be done as it's not actually possible to delete old Tweets using the Twitter API as you cannot find your oldest tweets.
What I would like to achieve is to have Tweets be temporal, and to self-destruct after a period of time. The nature of the way that I use the service is that it is conversational, and a Tweet taken out of context long after the conversation is likely to not be a good representation of my views (fitting reason into 140 chars is hard).
I already use [Tweet Delete](http://www.tweetdelete.net/ http://www.tweetdelete.net/), but wanted to go back and nuke the older tweets too, hence this code.
But... I broke the page.
https://discover.twitter.com/first-tweet#buro9 https://discover.twitter.com/first-tweet#buro9
That no longer returns my first Tweet, it's borked. My profile still shows I have 1,700+ tweets, but they seem to be totally inaccessible now. Oh well. I did manage to delete a good thousand or so, a small triumph.
Anyhow, Go code and Twitter, I heartily recommend this project:
https://github.com/ChimeraCoder/anaconda https://github.com/ChimeraCoder/anaconda
It's an easy to use and quite complete package that implements the Twitter API.