API.update_status problem in example
authorlackofdream <galaxy0419@gmail.com>
Sat, 4 Apr 2015 05:32:41 +0000 (14:32 +0900)
committerlackofdream <galaxy0419@gmail.com>
Sat, 4 Apr 2015 05:32:41 +0000 (14:32 +0900)
It seems that the API.update_status() function has changed however the example code hasn't.
And It causes a 400 Bad Request.

examples/oauth.py

index 6f08dab78634eb58279f2ea80972fba167f72b85..4035a359850e0391ae6234243a2e8baed3780911 100644 (file)
@@ -31,4 +31,4 @@ print(api.me().name)
 # If the application settings are set for "Read and Write" then
 # this line should tweet out the message to your account's
 # timeline. The "Read and Write" setting is on https://dev.twitter.com/apps
-api.update_status('Updating using OAuth authentication via Tweepy!')
+api.update_status(status='Updating using OAuth authentication via Tweepy!')