Remove id endpoint parameter for API.friends
authorHarmon <Harmon758@gmail.com>
Fri, 12 Feb 2021 04:06:29 +0000 (22:06 -0600)
committerHarmon <Harmon758@gmail.com>
Fri, 12 Feb 2021 04:06:29 +0000 (22:06 -0600)
tweepy/api.py

index 5043fb18e7ee6436345aac6c93a446c6e2f23cc8..126f16078b44d4bcee1d3311f0df84fc3f3bffec 100644 (file)
@@ -613,8 +613,8 @@ class API:
         """
         return self.request(
             'GET', 'friends/list', *args, endpoint_parameters=(
-                'id', 'user_id', 'screen_name', 'cursor', 'count',
-                'skip_status', 'include_user_entities'
+                'user_id', 'screen_name', 'cursor', 'count', 'skip_status',
+                'include_user_entities'
             ), **kwargs
         )