Code for Getting data from Twitter API.