From: Mickaƫl Fosso Date: Mon, 28 Jul 2014 14:37:27 +0000 (+0200) Subject: Change to make sure tweepy use SSL X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=05b5a4390c7109bb8c0778c547883c41272769fb;p=tweepy.git 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. --- 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)