From cca8dea27a90edc90f6f26057df573fb2e3a51da Mon Sep 17 00:00:00 2001 From: marcoqu Date: Fri, 12 Jul 2013 16:20:46 +0200 Subject: [PATCH] Updated twitter base_url to API version 1.1 (REST API v1 is no longer active) --- example/tweet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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