Use Twitter v1.1 and use secure by default.
authorJoshua Roesslein <jroesslein@gmail.com>
Sun, 20 Jan 2013 20:31:45 +0000 (12:31 -0800)
committerJoshua Roesslein <jroesslein@gmail.com>
Sun, 20 Jan 2013 20:31:45 +0000 (12:31 -0800)
tweepy/api.py

index 060a879f77a3ee140d65484e930942269ccc90c4..f8c7b1a5e876f7d32c279d7de728d8b03575e40c 100644 (file)
@@ -16,7 +16,7 @@ class API(object):
 
     def __init__(self, auth_handler=None,
             host='api.twitter.com', search_host='search.twitter.com',
-             cache=None, secure=False, api_root='/1', search_root='',
+             cache=None, secure=True, api_root='/1.1', search_root='',
             retry_count=0, retry_delay=0, retry_errors=None,
             parser=None):
         self.auth = auth_handler