Fix PHP error caused by Twitter API changes