Code seems to work. Need code review.
Working twitter
Working twitterbot
Working twitter