One of our example applications prints an ongoing timeline of live “tweets” from Twitter. To access this feature, even if you don’t use the Twitter service personally yourself, you’ll still need to sign up for an account to use the search function in software. If you don’t yet have one, begin at the Twitter home page and use the sign-up form.
In addition to some basic account information, you’ll need to provide a real email address in order to confirm and activate the account. Within a few minutes you should receive an email with an activation link.
Once you have an account and have logged in, you can then proceed to apps.twitter.com (the Twitter Developer App home page). Click "Create new App"
You’ll need to agree to the developer terms of service before finalizing your application. Read, agree, and click “Create your Twitter application”:
There used to be a CAPTCHA here. Now, Twitter requires that you add a mobile phone number to your account, if not already assigned. A verification code will be sent to this number.
Once you complete these steps and the app is created, you’ll have the credentials needed to authorize your application. Click on the “Keys and Access Tokens” tab. On the next page of this guide we’ll copy and paste the “Consumer Key” and “Consumer Secret” strings into a Python script.