upgrades twitter code to use oauth