What's the issue with TwitterOAuth in twitteR (R package)? -
i'm using r package twitter retrieve twitter data.
the function "registertwitteroauth" deprecated
and
the function "setup_twitter_oauth" called side effect.
what's problem them?
setup_twitter_oauth
function want use. it's true call it's sideeffect - side effect being fact it'll authorize make calls twitter api. have pass keys/secrets/tokens per function documentation.
i store these values in options when need authenticate call
setup_twitter_oauth(getoption('twitter_consumer_key'), getoption('twitter_consumer_secret'), getoption('twitter_access_token'), getoption('twitter_access_secret'))
Comments
Post a Comment