Raspberry Pi Twitter Monitor
Register Your Twitter App
In order to interact with Twitter (including searching, monitoring, posting, etc.), you will need to register your application. This is accomplished by going to https://dev.twitter.com/.
Click the âSign Inâ button at the top-right of the screen and enter your Twitter credentials (you can also sign up if you donât have a Twitter account).
Once you have signed in, click on your user icon, and select âMy Applications.â
Click the âCreate a new applicationâ button, and you will be presented with a form to fill out about your application. Fill out the name and description fields. For âWebsite,â you can put something random, like http://github.com or something else that looks legitimate. At the bottom of the page, click the checkbox to agree to the rules, fill out the Captcha, and click the âCreate your Twitter applicationâ button.
Once completed, you will be presented with a dashboard for your registered application. You need to create an access token, so click the âCreate my access tokenâ button at the bottom of the screen.
Wait a few seconds and then refresh the page. You should see a section titled âYour access tokenâ at the bottom. Copy down the âConsumer key,â âConsumer secret,â âAccess token,â and âAccess token secret.â We will need these for our application. Note that we set up this Twitter application as an example. It will have been deleted by the time you read this, so donât be trying to use our tokens!