Use Twitter's 1.1 API endpoint for tweeting.

Fixes a crash due to using Twitter's old API when trying to tweet.