Skip to content

Instantly share code, notes, and snippets.

@robflaherty
Created August 29, 2020 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robflaherty/014ad6d6aec2f4eff687bf13179363ba to your computer and use it in GitHub Desktop.
Save robflaherty/014ad6d6aec2f4eff687bf13179363ba to your computer and use it in GitHub Desktop.
Generate Twitter API bearer token
curl -u '{API key}:{API secret key}' \
--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