tommeagher / heroku_ebooks

An archive of a script to generate Markov chains and to post to an _ebooks account on Twitter using Heroku. No longer actively supported.
264 stars 163 forks source link

Allow using a tweets archive file #48

Closed rafitamolin closed 6 years ago

rafitamolin commented 6 years ago

In the original twitter_ebooks bot, there's an option to download and then incrementally update a local json archive of a user's tweets, and also to convert the .csv file of your Twitter Archive files to .json so it can properly work.

It would be nice to allow someone to manually download their twitter archive and then converting the included tweets.csv in the archive to a .json file that the bot can read and publish tweets with.

tommeagher commented 6 years ago

@rafitamolin This is a very interesting idea. I'd be open to a pull request if someone wants to try to tackle this feature.

TimLChan commented 6 years ago

I've done a rudamentary parser which allows you to extract the tweets from the twitter archive and place them in a CSV, but I've done a few commits since then.

If I find some time, I'll create a branch and pick out the commit and raise a PR