Remove Pagination Code Snippet
authorHarmon <Harmon758@gmail.com>
Thu, 29 Apr 2021 09:29:48 +0000 (04:29 -0500)
committerHarmon <Harmon758@gmail.com>
Thu, 29 Apr 2021 09:29:48 +0000 (04:29 -0500)
docs/code_snippet.rst

index 2674693c223c4e92ac788bd82271deb370b89959..bc57ab48042df89013d0f2582bc563261d0ad1f5 100644 (file)
@@ -27,21 +27,6 @@ OAuth
    # Construct the API instance
    api = tweepy.API(auth)
 
-Pagination
-==========
-
-.. code-block :: python
-
-   # Iterate through all of the authenticated user's friends
-   for friend in tweepy.Cursor(api.friends).items():
-       # Process the friend here
-       process_friend(friend)
-   
-   # Iterate through the first 200 statuses in the home timeline
-   for status in tweepy.Cursor(api.home_timeline).items(200):
-       # Process the status here
-       process_status(status)
-
 FollowAll
 =========