updated REST example to work on twitter API v1.1