-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: http://svn.addictedtonew.com/public/gems/twitter@2 fe7eae16-9a24-0410-a59d-9e59979e88be
- Loading branch information
jnunemaker
committed
Dec 17, 2006
1 parent
cd7aecd
commit 1763cd8
Showing
33 changed files
with
2,295 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
0.0.3 - added a bit more informative message when things go wrong | ||
0.0.2 - added the command line options i forgot to add (friend and follower); improved some docs | ||
0.0.1 - initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
require '../lib/twitter' | ||
|
||
puts "Public Timeline", "=" * 50 | ||
Twitter::Base.new('emailaddress', 'password').timeline(:public).each do |s| | ||
puts s.text, s.user.name | ||
puts | ||
end | ||
|
||
puts '', "Friends Timeline", "=" * 50 | ||
Twitter::Base.new('emailaddress', 'password').timeline.each do |s| | ||
puts s.text, s.user.name | ||
puts | ||
end | ||
|
||
puts '', "Friends", "=" * 50 | ||
Twitter::Base.new('emailaddress', 'password').friends.each do |u| | ||
puts u.name, u.status.text | ||
puts | ||
end | ||
|
||
puts '', "Followers", "=" * 50 | ||
Twitter::Base.new('emailaddress', 'password').followers.each do |u| | ||
puts u.name, u.status.text | ||
puts | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
0.0.3 - added a bit more informative message when things go wrong | ||
0.0.2 - added the command line options i forgot to add (friend and follower); improved some docs | ||
0.0.1 - initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.