This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 2c2928a40472eac3ebc8a5591a683a38f3625100
tree 582b47888bf04c252a29d81acb5cd761701fb945
parent ec4bb98e4517f288bfef93897f87b66c8a94a032
tree 582b47888bf04c252a29d81acb5cd761701fb945
parent ec4bb98e4517f288bfef93897f87b66c8a94a032
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Thu Oct 22 11:44:19 -0700 2009 | |
| |
README.md | Sun Nov 01 13:45:57 -0800 2009 | |
| |
Rakefile | Sun Nov 01 13:45:57 -0800 2009 | |
| |
mentions.rb | Tue Oct 27 18:17:49 -0700 2009 | |
| |
mytweets.rb | Sun Nov 01 13:45:57 -0800 2009 | |
| |
replies.rb | Tue Oct 27 18:18:09 -0700 2009 | |
| |
searcher.rb | Tue Oct 27 18:17:49 -0700 2009 |
README.md
my-tweets
Fetches all of your tweets from Twitter, saving them to a json file.
Usage
Create a file named config.rb in the same directory as mytweets.rb that
defines USERNAME and PASSWORD constants that contain your Twitter
credentials. Then run the script:
$ ruby mytweets.rb
You can also dump all of your tweets to the terminal as JSON if you want:
$ ruby mytweets.rb --verbose
Extras
Make sure you've already run ruby mytweets.rb before you attempt these.
Search your Tweetion (all your tweets)
$ ruby searcher.rb something
or:
$ irb
>> require 'searcher'
=> true
>> Tweetion.search /hello/i
See who you mention
$ ruby mentions.rb
You can limit:
$ ruby mentions.rb --limit 10
Warning: You may be surprised at you talk to the most.
See who you reply to
$ ruby replies.rb
Again, you can limit:
$ ruby replies.rb --limit 10
Inspired by github.com/simonw/mytweets







