Add retweet method
This commit is contained in:
parent
1372c05736
commit
2fba8e12b5
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue