1
當我在我的筆記本上運行我的API設置代碼我沒有問題,但是當我的朋友運行它她收到此消息錯誤:無法找到函數「setup_twitter_oauth
錯誤:
could not find function "setup_twitter_oauth"
的代碼是(我拿出了所有的個人信息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"
有一個HTTPS:後 「authURL < - 」 但我不沒有10的聲望發佈3鏈接:
consumerKey<-"XXXX" consumerSecret<-"XXXX" access_token<- "XXXX" access_secret<- "XXXX"
setup_twitter_oauth(consumerKey, consumerSecret, access_token, access_secret)
任何幫助非常感謝!
請使用將問題的某些部分作爲代碼來改進格式,可以對其進行編輯))您使用哪種語言?正如我看到它應該是R,我認爲問題與autif有關。文件,一旦你是真的。它記得你,但不是你的朋友。 – Rocketq
http://thinktostart.com/twitter-authentification-with-r/看這裏,應該幫助 – Rocketq