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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -