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

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -