Skip to content

Instantly share code, notes, and snippets.

@pierrelorioux
Forked from ElCep/identityvalidation.R
Created April 25, 2014 06:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pierrelorioux/11279726 to your computer and use it in GitHub Desktop.
Save pierrelorioux/11279726 to your computer and use it in GitHub Desktop.
reqURL = "https://api.twitter.com/oauth/request_token"
accessURL = "http://api.twitter.com/oauth/access_token"
authURL = "http://api.twitter.com/oauth/authorize"
consumerKey = "nP9JdRBlToVZ4xXrNeUbw"
consumerSecret = "KsK7qsu13cEUXhlpUSSo4UGHsoSTuBvwVPqzKAb6DqU"
library(twitteR)
twitCred = OAuthFactory$new(consumerKey=consumerKey,consumerSecret=consumerSecret,requestURL=reqURL,accessURL=accessURL,authURL=authURL)
twitCred$handshake()
save(twitCred, file="../cred.RData")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment