Fixed tweeting functionality