diff --git a/twitools/__init__.py b/twitools/__init__.py index e3ed7a3..a5686f4 100644 --- a/twitools/__init__.py +++ b/twitools/__init__.py @@ -21,6 +21,9 @@ class twObject: def whoami(self): return self.auth.get_username() + def tweet(self, text, reply = 0): + return self.api.update_status(text, reply) + def getFollowerIDs(two=twObject()): ''' Returns 5,000 follower IDs at most ''' return two.api.followers_ids(screen_name=twObject().whoami())