changed twitter php class