|
@ -34,8 +34,8 @@ class TwitterApi(): |
|
|
auth.set_access_token(config.twitter_conf['TW_ACCESS_TOKEN'], config.twitter_conf['TW_ACCESS_TOKEN_SECRET']) |
|
|
auth.set_access_token(config.twitter_conf['TW_ACCESS_TOKEN'], config.twitter_conf['TW_ACCESS_TOKEN_SECRET']) |
|
|
api = tweepy.API(auth) |
|
|
api = tweepy.API(auth) |
|
|
|
|
|
|
|
|
def send(tweet): |
|
|
def send(self, tweet): |
|
|
api.update_status(tweet) |
|
|
self.api.update_status(tweet) |
|
|
|
|
|
|
|
|
def get_tweets_by_tag(tag): |
|
|
def get_tweets_by_tag(tag): |
|
|
print "NotImplemented" |
|
|
print "NotImplemented" |
|
|