added new addTweet method to sample