diff --git a/example/tweet.py b/example/tweet.py index 536836a..dcb188b 100644 --- a/example/tweet.py +++ b/example/tweet.py @@ -21,7 +21,7 @@ twitter = oauth.remote_app('twitter', # unless absolute urls are used to make requests, this will be added # before all URLs. This is also true for request_token_url and others. - base_url='https://api.twitter.com/1/', + base_url='https://api.twitter.com/1.1/', # where flask should look for new request tokens request_token_url='https://api.twitter.com/oauth/request_token', # where flask should exchange the token with the remote application