Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add page argument to list_statuses

  • Loading branch information...
commit 6649694739ac44508f184855b5f7613bef3ca7a2 1 parent 11effcc
authored June 07, 2011

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  lib/twitter_oauth/lists.rb
6  lib/twitter_oauth/lists.rb
@@ -32,8 +32,8 @@ def delete_list(user, list)
32 32
     end
33 33
     
34 34
     # Show tweet timeline for members of the specified list.
35  
-    def list_statuses(user, list)
36  
-      get("/#{user}/lists/#{list}/statuses.json")
  35
+    def list_statuses(list, page=0)
  36
+      get("/lists/statuses.json?list_id=#{list}&page=#{page}")
37 37
     end
38 38
     
39 39
     # List the lists the specified user has been added to.
@@ -97,4 +97,4 @@ def get_subscriber_of_list(user, list, subscriber_id)
97 97
     end
98 98
     
99 99
   end
100  
-end
  100
+end

0 notes on commit 6649694

Please sign in to comment.
Something went wrong with that request. Please try again.