Updates twitter example to use Twitter API 1.1

Twitter API 1 has been deprecated. See https://dev.twitter.com/docs/faq#17750

This small fix changes the example to use version 1.1