Update api.py
authorArudmin <rubicomspb@gmail.com>
Sat, 21 Jun 2014 09:56:19 +0000 (13:56 +0400)
committerArudmin <rubicomspb@gmail.com>
Sat, 21 Jun 2014 09:56:19 +0000 (13:56 +0400)
Add allowed params from API reference according to the documentation.

tweepy/api.py

index 49b5219b2f9133aee91ba912453c5eee358bd399..81c3a95753bd39120d1088df98001fe2f94f94d1 100644 (file)
@@ -622,7 +622,7 @@ class API(object):
             path='/account/update_profile_background_image.json',
             method='POST',
             payload_type='user',
-            allowed_param=['tile'],
+            allowed_param=['tile', 'include_entities', 'skip_status', 'use'],
             require_auth=True
         )(self, post_data=post_data, headers=headers)