What's the issue with TwitterOAuth in twitteR (R package)? -


i'm using r package twitter retrieve twitter data.

the manual says:

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

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -