Switching from localhost to twitter