Update friends_timeline to home_timeline in code snippet documentation
authorHarmon <Harmon758@gmail.com>
Wed, 8 May 2019 12:10:48 +0000 (07:10 -0500)
committerGitHub <noreply@github.com>
Wed, 8 May 2019 12:10:48 +0000 (07:10 -0500)
docs/code_snippet.rst

index 7b4f7bcae3e21e9742d2094f66bfc79d79e807d8..f838e2a89ce59057bb80b5881c535b3ddee5de93 100644 (file)
@@ -37,8 +37,8 @@ Pagination
        # Process the friend here
        process_friend(friend)
    
-   # Iterate through the first 200 statuses in the friends timeline
-   for status in tweepy.Cursor(api.friends_timeline).items(200):
+   # 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)