Permalink
Browse files

add page argument to list_statuses

  • Loading branch information...
1 parent 11effcc commit 6649694739ac44508f184855b5f7613bef3ca7a2 Max Spransy committed Jun 7, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/twitter_oauth/lists.rb
@@ -32,8 +32,8 @@ def delete_list(user, list)
end
# Show tweet timeline for members of the specified list.
- def list_statuses(user, list)
- get("/#{user}/lists/#{list}/statuses.json")
+ def list_statuses(list, page=0)
+ get("/lists/statuses.json?list_id=#{list}&page=#{page}")
end
# List the lists the specified user has been added to.
@@ -97,4 +97,4 @@ def get_subscriber_of_list(user, list, subscriber_id)
end
end
-end
+end

0 comments on commit 6649694

Please sign in to comment.