From: Joshua Roesslein Date: Sun, 20 Jan 2013 20:31:45 +0000 (-0800) Subject: Use Twitter v1.1 and use secure by default. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e0fff3c46a55ad24024aca84a4a72c77eb6163bd;p=tweepy.git Use Twitter v1.1 and use secure by default. --- diff --git a/tweepy/api.py b/tweepy/api.py index 060a879..f8c7b1a 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -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