Add retweet method

This commit is contained in:
Klaus-Uwe Mitterer 2016-12-06 22:31:45 +01:00
parent c1bb677d40
commit f8d9568271

View file

@ -7,6 +7,9 @@ class twObject:
self.auth.set_access_token(ato, ase)
self.api = tweepy.API(self.auth)
def retweet(self, id):
self.api.retweet(id)
def delete(self, id):
self.api.destroy_status(id)