Permalink
Browse files

correct readme typos for accessing friends and followers

  • Loading branch information...
1 parent 5cb5d7d commit 2043ab4a6b723cac2a8ed77e26a4b0e3f4f55b03 @surfacedamage surfacedamage committed with Mar 28, 2011
Showing with 3 additions and 2 deletions.
  1. +2 −2 README.mkd
  2. +1 −0 changes.txt
View
@@ -223,10 +223,10 @@ Usage Examples
puts Twitter.home_timeline.first.text
# Who's your most popular friend?
- puts Twitter.friends.sort{|a, b| a.followers_count <=> b.followers_count}.reverse.first.name
+ puts Twitter.friends.users.sort{|a, b| a.followers_count <=> b.followers_count}.reverse.first.name
# Who's your most popular follower?
- puts Twitter.followers.sort{|a, b| a.followers_count <=> b.followers_count}.reverse.first.name
+ puts Twitter.followers.users.sort{|a, b| a.followers_count <=> b.followers_count}.reverse.first.name
# Get your rate limit status
puts Twitter.rate_limit_status.remaining_hits.to_s + " Twitter API request(s) remaining this hour"
View
@@ -0,0 +1 @@
+Typo on readme when sorting friends or followers would yield a no method error.

0 comments on commit 2043ab4

Please sign in to comment.