For labs 7a, 7b, and 8 you should download this zip file. You don’t need to unzip the file; we will import it as is into RStudio Server.
There’s some prep work that you should do before Thursday, March 23 in order to be ready for our twitter bot exercise:
- Sign up for a Wordnik account and then sign up for a Wordnik API Key. Wordnik is an open-source dictionary from which we will be drawing words to fill in our mad libs.
- If you want to post to Twitter, you will need to create a new Twitter account for your bot. Think about what kind of bot you want to make and then sign up. Be sure to add a mobile number to the account, as we’ll need that for one the steps later on.
- While signed into your new account, visit Twitter’s developer site. In the small bottom menu click “Manage Your Apps” and then “Create New App.” Fill out the required fields and then click “Create Your Twitter Application.” In your new app, navigate to “Permissions,” select “Read and Write,” and save settings. We’ll be getting some essential information from the “Keys and Access Tokens” menu shortly.
- Choose a short snippet of a poem you like (less than 140 characters!) that you can use for your twitter bot.