From: lackofdream Date: Sat, 4 Apr 2015 05:32:41 +0000 (+0900) Subject: API.update_status problem in example X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4f5732eab5088bc98fd85d820de5e281176007c6;p=tweepy.git API.update_status problem in example It seems that the API.update_status() function has changed however the example code hasn't. And It causes a 400 Bad Request. --- diff --git a/examples/oauth.py b/examples/oauth.py index 6f08dab..4035a35 100644 --- a/examples/oauth.py +++ b/examples/oauth.py @@ -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!')