The directory for the archive can be changed by editing Line 10 of archive-tweets.py. You don't have to keep your archive in Dropbox, but that's a convenient place to be able to access your tweets from any of your computers. It should be kept in the same folder as twitter.txt. This file holds the ID number of the most recently archived tweet it currently holds a dummy value you'll need to change. When you're done, you'll be given the four credentials-long strings of letters and numbers-you'll need. Go to the Twitter developer site, click the "Create an app" link, and follow the instructions given there for creating an app. The values for consumerKey, consumerSecret, token, and tokenSecret must be provided by Twitter. twitter-credentials and saved in your home directory. It should be kept in a folder named twitter inside your Dropbox folder. This is the archive file itself, currently empty. You can delete any of your own Tweets from Twitter at any time. The "Parameters" section at the top of the file should be edited to your Twitter user name, your time zone, and the directory where you want to keep the archive. Tweets are short, throwaway observations, which capture the. It can be stored anywhere and should be run periodically via a system like cron or launchd. Please support our Capitol Police and Law Enforcement.This is the script that does the archiving. 359.7K 213.1K 706.3K President Trump 45 Archived Retweeted Donald J. If you are starting an archive from scratch, this post and script by Tim Bueno will be helpful. If you already have an archive of tweets in ThinkUp, you might find this post useful in turning it into a plaintext archive. The script (in a slightly earlier version) is described in this blog post. It is intended to be run periodically to add recent tweets to an existing archive file. As Twitter itself states: The easiest way to navigate your archive is to open the HTML renderer in a desktop web browser by double clicking the Your archive. This Python script and the related files will download your tweets from Twitter and save them in a plaintext archive file on your computer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |