Sample code for querying the Twitter API using application-only OAuth2 (and OAuth1.1 directly)