added function of tweet to twitter