From 05b5a4390c7109bb8c0778c547883c41272769fb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micka=C3=ABl=20Fosso?= Date: Mon, 28 Jul 2014 16:37:27 +0200 Subject: [PATCH] Change to make sure tweepy use SSL I had some problems using Tweepy and I realized it was because it didn't always use SSL. So I propose to add a line to make sure the connexion we use is secure. --- examples/oauth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/oauth.py b/examples/oauth.py index d3b4b10..1399f4a 100644 --- a/examples/oauth.py +++ b/examples/oauth.py @@ -17,6 +17,7 @@ access_token="" access_token_secret="" auth = tweepy.OAuthHandler(consumer_key, consumer_secret) +auth.secure = True auth.set_access_token(access_token, access_token_secret) api = tweepy.API(auth) -- 2.25.1