From d8149a4c96fd331ff19efcac023db2e706ce47e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Fri, 14 Nov 2014 16:05:34 -0600 Subject: [PATCH] TWBlue has access to the direct messages on all accounts --- src/twitter/twitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/twitter/twitter.py b/src/twitter/twitter.py index ef24d093..77445acb 100644 --- a/src/twitter/twitter.py +++ b/src/twitter/twitter.py @@ -39,7 +39,7 @@ class twitter(object): def authorise(self): httpd = BaseHTTPServer.HTTPServer(('127.0.0.1', 8080), handler) - twitter = Twython(application.app_key, application.app_secret) + twitter = Twython(application.app_key, application.app_secret, auth_endpoint='authorize') auth = twitter.get_authentication_tokens("http://127.0.0.1:8080") webbrowser.open_new_tab(auth['auth_url']) global logged, verifier