From 4f5732eab5088bc98fd85d820de5e281176007c6 Mon Sep 17 00:00:00 2001 From: lackofdream Date: Sat, 4 Apr 2015 14:32:41 +0900 Subject: [PATCH] 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. --- examples/oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!') -- 2.25.1