Adapted error handling to Twitter's fucking inconsistency
