api - Error: could not find function "setup_twitter_oauth -
when run api setup code on laptop don't have problem, when friend runs getting message.
error:
could not find function "setup_twitter_oauth"
the code (i took out personal info obv):
options(rcurloptions = list( capath = system.file ("curlssl", "cacert.pem", package = "rcurl"), ssl.verifypeer = false)) requrl<-"https://api.twitter.com/oauth/request_token" accessurl<- "https://api.twitter.com/oauth/access_token" authurl<-"//api.twitter.com/oauth/authorize"
there's https: after "authurl <-" don't have 10 reputation post 3 links:
consumerkey<-"xxxx" consumersecret<-"xxxx" access_token<- "xxxx" access_secret<- "xxxx" setup_twitter_oauth(consumerkey, consumersecret, access_token, access_secret)
any appreciated!
try use this:
twitter:::setup_twitter_oauth()
and sure have install twitter library.
Comments
Post a Comment