Implemented the twitter method.