CloseTweet error

Can anyone tell me what’s wrong here: http://www.codechef.com/viewsolution/4922115 ?

Thanks