From: Benjamin Mako Hill Date: Fri, 23 Oct 2015 02:42:29 +0000 (-0700) Subject: updated cursor to new version of tweepy docs X-Git-Url: https://projects.mako.cc/source/twitter-api-cdsw/commitdiff_plain/ba48aab4fca5486068104ad61b2d37db6f7cc86a updated cursor to new version of tweepy docs --- diff --git a/twitter1-cursor.py b/twitter1-cursor.py index dfb1188..b7de59b 100644 --- a/twitter1-cursor.py +++ b/twitter1-cursor.py @@ -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)