| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 15 Jan 2026 07:32:44 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20071213004602
location: https://web.archive.org/web/20071213004602/https://twitter.rubyforge.org/
server-timing: captures_list;dur=1.081744, exclusion.robots;dur=0.035578, exclusion.robots.policy;dur=0.024218, esindex;dur=0.010619, cdx.remote;dur=36.512512, LoadShardBlock;dur=151.593851, PetaboxLoader3.datanode;dur=75.435976, PetaboxLoader3.resolve;dur=29.961878
x-app-server: wwwb-app211-dc8
x-ts: 302
x-tr: 217
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app211; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 15 Jan 2026 07:32:44 GMT
content-type: text/html
x-archive-orig-date: Thu, 13 Dec 2007 00:46:02 GMT
x-archive-orig-server: Apache
x-archive-orig-last-modified: Thu, 21 Jun 2007 12:40:49 GMT
x-archive-orig-etag: "1812a0d-1037-db335640"
x-archive-orig-accept-ranges: bytes
x-archive-orig-content-length: 4151
x-archive-orig-vary: Accept-Encoding
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 13 Dec 2007 00:46:02 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_1_20071212233120_crawl108-c/51_1_20071213004435_crawl101.arc.gz
server-timing: captures_list;dur=0.642281, exclusion.robots;dur=0.028584, exclusion.robots.policy;dur=0.011790, esindex;dur=0.013186, cdx.remote;dur=20.892713, LoadShardBlock;dur=110.262006, PetaboxLoader3.resolve;dur=59.199259, PetaboxLoader3.datanode;dur=93.081343, load_resource;dur=89.334158
x-app-server: wwwb-app211-dc8
x-ts: 200
x-tr: 261
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
Ruby Twitter Gem by John Nunemaker
Install
$ sudo gem install twitter -y
note: the twitter gem now works with hpricot 0.5+
Command Line
The command line gives you several options for user twitter. Simply type twitter to see the options.
# to post an update to twitter
$ twitter post "posting from the twitter gem"
# to see you and your friends timeline
$ twitter timeline
Important Friends
The 0.1.0 update to the gem allowed for putting an array of usernames in your .twitter file and filter your timeline to only those users.
-
Adjust your .twitter file like so
# .twitter # # Please fill in fields like this: # # email: bla@bla.com # password: secret # email: something@something.com password: supersecret important: - mattklawitter - oaknd1 - wharle - chasgrundy - jerry - From the command line do this:
$ twitter important
API Wrapping
I do my best to keep it easy to use. Below are some code samples showing a few of the methods.
twit = twit
twit.update('watching veronica mars')
puts "Public Timeline", "=" * 50
twit.timeline(:public).each do |s|
puts s.text, s.user.name
puts
end
puts '', "Friends Timeline", "=" * 50
twit.timeline(:friends).each do |s|
puts s.text, s.user.name
puts
end
puts '', "You and Your Friends Timeline", "=" * 50
twit.timeline(:user).each do |s|
puts s.text, s.user.name
puts
end
puts '', "Your Friends", "=" * 50
twit.friends.each do |u|
puts u.name, u.status.text
puts
end
puts '', "jnunemaker's Friends", "=" * 50
twit.friends_for('jnunemaker').each do |u|
puts u.name
puts
end
puts '', "Your Followers", "=" * 50
twit.followers.each do |u|
puts u.name
puts
end
Support
Please leave all support requests and suggestions at the google group.
Uses
- Snitch
- Growl + Twitter
- Twitter Woot Bot (more here)
- Tweet Quicksilver Action
- logging security events to twitter
- Shareomatic is using it for their twitter account
Using the twitter gem for something, let me know and I'll add you above.
Created by John Nunemaker