projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be3634d
)
Change to make sure tweepy use SSL
author
Mickaël Fosso
<jazzkeats@gmail.com>
Mon, 28 Jul 2014 14:37:27 +0000
(16:37 +0200)
committer
Mickaël Fosso
<jazzkeats@gmail.com>
Mon, 28 Jul 2014 14:37:27 +0000
(16:37 +0200)
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
patch
|
blob
|
blame
|
history
diff --git
a/examples/oauth.py
b/examples/oauth.py
index d3b4b106615587c96f26dd021931e3e1803acf9d..1399f4a2230894f49e9cc558c713524a0afb7730 100644
(file)
--- 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)