Add retweet method

This commit is contained in:
Klaus-Uwe Mitterer 2016-12-06 22:31:45 +01:00
parent 1372c05736
commit 2fba8e12b5

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)