]> projects.mako.cc - twitter-api-cdsw/blobdiff - twitter1-cursor.py
updated cursor to new version of tweepy docs
[twitter-api-cdsw] / twitter1-cursor.py
index dfb1188af96ca4d13fe5aed8f00ed6b821677453..b7de59b04d584c0c0522b29c0ec75cf82958d96f 100644 (file)
@@ -9,7 +9,7 @@ auth.set_access_token(ACCESS_TOKEN, ACCESS_TOKEN_SECRET)
 api = tweepy.API(auth)
 
 # I found the idea of how to the user the Cursor here:
-#   https://tweepy.readthedocs.org/en/v3.2.0/cursor_tutorial.html
+#   https://tweepy.readthedocs.org/en/v3.4.0/cursor_tutorial.html
 for page in tweepy.Cursor(api.home_timeline, count=200).pages():
     for tweet in page:
         print(tweet.text)

Benjamin Mako Hill || Want to submit a patch?