Learning Web App Development

by Semmy Purewal

Twitter API Changes

page 196

07 Jun 2014

On page 196, we set up ntwitter to use our Twitter API keys. Twitter has recently changed the name of the Consumer key and Consumer secret to API key and API secret, respectively. They also refer to the Access token key as simply an Access token now.

This doesn’t change the code you send into ntwitter, however – it just means that your credentials.json file should look something like this:

    "consumer_key": "your app's API key here",
    "consumer_secret": "your app's API secret here",
    "access_token_key": "your app's Access token here",
    "access_token_secret": "your app's Access token secret here"

Thanks to Ken Hommel for reporting this change to me!