Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (10 sloc) 368 Bytes
from twython import Twython
class JuanVega:
APP_KEY = '**'
APP_SECRET = '**'
OAUTH_TOKEN = '**'
OAUTH_TOKEN_SECRET = '**'
def __init__(self):
self.__juandvega = Twython(self.APP_KEY, self.APP_SECRET, self.OAUTH_TOKEN, self.OAUTH_TOKEN_SECRET)
def publish_tweet(self, text):
return self.__juandvega.update_status(status=text)