mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 04:48:09 -06:00
TWBlue should use direct messages on all accounts #fix #next-gen
This commit is contained in:
parent
606ab6d6fc
commit
05dc8e5a31
@ -13,7 +13,7 @@ class twitter(object):
|
|||||||
|
|
||||||
def authorise(self, settings):
|
def authorise(self, settings):
|
||||||
httpd = BaseHTTPServer.HTTPServer(('127.0.0.1', 8080), authorisationHandler.handler)
|
httpd = BaseHTTPServer.HTTPServer(('127.0.0.1', 8080), authorisationHandler.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")
|
auth = twitter.get_authentication_tokens("http://127.0.0.1:8080")
|
||||||
webbrowser.open_new_tab(auth['auth_url'])
|
webbrowser.open_new_tab(auth['auth_url'])
|
||||||
# global logged, verifier
|
# global logged, verifier
|
||||||
|
Loading…
Reference in New Issue
Block a user