Last active
October 9, 2017 15:32
-
-
Save jeffgswanson/04bc9aa38a1037b93c1ef16982011eec to your computer and use it in GitHub Desktop.
Access Twitter API to use twitterR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Access Twitter API using twitterR | |
# Need to have a Twitter account and can access keys, secrets, tokens by creating an app at apps.twitter.com | |
# Include the single quotes around your access codes | |
tw_consumer_key <- 'your_consumer_key' | |
tw_consumer_secret <- 'your_consumer_secret' | |
tw_access_token <- 'your_access_token' | |
tw_access_secret <- 'your_access_secret' | |
setup_twitter_oauth(tw_consumer_key, tw_consumer_secret, tw_access_token, tw_access_secret) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment