having trouble in get authentication twitter API with R -
first of all, i`m not english speaker. please understand if make wrong expression.
i`m trying authenticate twitter api using r
i follow instruction on internet. doesn`t work. error messages keep appear on screen
library(twitter) library(roauth) library(rcurl) library(bitops) library(digest) library(rjson) consumerkey = "mykey" consumersecret = "mysecret" requesturl <- "url" authurl = "url" accessurl = "url" twitcred <-oauthfactory$new(consumerkey=consumerkey,consumersecret=consumersecret,requesturl=requesturl,accessurl=accessurl,authurl=authurl)
error in envrefsetfield(.object, field, classdef, selfenv, elements[[field]]) : ‘consumerkey’ not field in class “oauth”
somebody tell how figure out??
Comments
Post a Comment