def tweet(self, message):
     try:
         print(message[:140])
         self.api.update_status(status=message[:140])
     except Exception as err:
         msg = "Tweet Error: {0}".format(err)
         print(msg)
         logError(msg)
 def tweet(self, message):
     try:
         print(message[:140])
         self.api.update_status(status=message[:140])
     except Exception as err:
         msg = "Tweet Error: {0}".format(err)
         print(msg)
         logError(msg)
 def reply(self, message, reply_id):
     try:
         print(message[:140])
         self.api.update_status(status=message[:140],
                                in_reply_to_status_id=reply_id)
     except Exception as err:
         msg = "Reply Error: {0}".format(err)
         print(msg)
         logError(msg)
 def reply(self, message, reply_id):
     try:
         print(message[:140])
         self.api.update_status(
             status=message[:140], in_reply_to_status_id=reply_id)
     except Exception as err:
         msg = "Reply Error: {0}".format(err)
         print(msg)
         logError(msg)
 def on_error(self, status):
     logError(status)
     print(status)
 def on_error(self, status):
     logError(status)
     print(status)