Now, we have our template for the application and let's get results from Twitter. First of all, we need to create a Twitter account to have an access to the developer features (https://dev.twitter.com/). With an account created, we get the benefits to use the whole API. In the account that you just created, go to your account menu and click on Create a new application; fill up the basic information about your app, such as name, description, and website. You are now ready to get your credentials to use in your own application.
Now, you will see this page that shows all the keys and setup of the application (the keys are like your password, so it's omitted here for you to use your own credentials):
Take a note of these numbers that we will use to connect to the Twitter API with OAuth and make search requests. OAuth (http://oauth.net/) is a protocol standard for authentication for a given service, it is used by Facebook, Yahoo!, and many others too for authenticating through...