Add include_entities endpoint parameter for API.destroy_favorite
authorHarmon <Harmon758@gmail.com>
Sat, 13 Feb 2021 20:05:36 +0000 (14:05 -0600)
committerHarmon <Harmon758@gmail.com>
Sat, 13 Feb 2021 20:05:36 +0000 (14:05 -0600)
tweepy/api.py

index a5ea9fb92f4aa70ca480e5fd192ab1b99842fa65..0d6eb25c4cc1136d016136c56ee8dd0c0eb7a3c5 100644 (file)
@@ -766,7 +766,7 @@ class API:
         """
         return self.request(
             'POST', 'favorites/destroy', id, *args, endpoint_parameters=(
-                'id',
+                'id', 'include_entities'
             ), **kwargs
         )