【发布时间】:2014-07-29 01:02:01
【问题描述】:
我一直在尝试使用 R 中的 tweeteR 包下载一些推文
我的 oauth 凭据的代码是
cred<-AuthFactory$new(consumerKey=consumerKey,
consumerSecret=consumerSecret,requestURL=reqURL,accessURL=accessURL,authURL=authURL)
当我尝试运行以下握手时
cred$handshake(cainfo=system.file("CurlSSL","cacert.pem",package="RCurl"))
我收到了这个错误
Error in function (type, msg, asError = TRUE) :
Could not resolve host: api.twitter.com; No data record of requested type
我在 Windows 机器上运行代码。 (我已经附上了下载cacert.pem的代码)
【问题讨论】: