This vignette covers how to obtain and use Twitter API access tokens for use in the rtweet
package.
To create a Twitter app, you will first need to apply for a developer account. This process along with a detailed explanation can be found at developer.twitter.com.
Once you have acquired a developer account, navigate to developer.twitter.com/en/apps, click the blue button that says, Create a New App
, and then complete the form with the following fields:
App Name
: What your app will be calledApplication Description
: How your app will be described to its users
Website URLs
: Website associated with app–I recommend using the URL to your Twitter profileCallback URLs
: IMPORTANT enter exactly the following: http://127.0.0.1:1410
Tell us how this app will be used
: Be clear and honest
When you’ve completed the required form fields, click the blue Create
button at the bottom
Read through and indicate whether you accept the developer terms
And you’re done!