TWBlue has access to the direct messages on all accounts

This commit is contained in:
Manuel Cortez 2014-11-14 16:05:34 -06:00
parent 75f494fc5a
commit d8149a4c96

View File

@ -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