Skip to content

Instantly share code, notes, and snippets.

@brendannee
Last active December 15, 2015 17:39
Show Gist options
  • Save brendannee/5298158 to your computer and use it in GitHub Desktop.
Save brendannee/5298158 to your computer and use it in GitHub Desktop.
echo -n '<CONSUMER KEY>:<CONSUMER SECRET>' | openssl base64
wget --header="Authorization: Basic <BASE64 ENCODED KEY AND SECRET>" --header="Content-Type: application/x-www-form-urlencoded;charset=UTF-8" --post-data="grant_type=client_credentials" https://api.twitter.com/oauth2/token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment