Skip to content

Instantly share code, notes, and snippets.

@clayadavis
Created May 30, 2013 22:02
Show Gist options
  • Save clayadavis/5681622 to your computer and use it in GitHub Desktop.
Save clayadavis/5681622 to your computer and use it in GitHub Desktop.
How to get a Twitter API key
1. Go to https://dev.twitter.com/
2. Click on "Sign In" in the upper-right corner.
* There is a link to sign up under the username field if you do not already have a Twitter account.
* If you sign up for a new account, you'll have to confirm your email before you can get an API key.
3. Enter your credentials and sign in.
4. Back at https://dev.twitter.com/, click on your avatar in the upper-right corner, then My Applications.
5. Click on "Create a new application".
6. Fill out the information, agree to the Rules of the Road, do the captcha, and click on "Create your Twitter application".
7. In the application page that comes up next, copy down the "Consumer key" and "Consumer secret". This is half of the key info.
8. Click on "Create my access token" at the bottom of the application page, under "Your access token".
9. (You may have to refresh the page first) Now under "Your access token", copy down your "Access token" and "Access token secret".
10. Back in the iPython notebook, paste these four alphanumeric values into the appropriate fields of the twitter.OAuth object.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment