使用r

时间:2016-03-21 08:06:49

标签: r twitter sentiment-analysis

    >library(base64enc)
    > options(httr_oauth_cache=T)
    > library(twitteR)
    > access_token <- 'XXXXXXXXXXXXXX'
    > consumer_key <- 'XXXXXXXXXXXXXXXXX'
    > consumer_secret <- 'XXXXXXXXXXXXXXXXX'
    > access_secret <- 'XXXXXXXXXXXXX'
    > setup_twitter_oauth(consumer_key, consumer_secret, access_token,access_secret)
[1] "Using direct authentication"
Error in check_twitter_oauth() : OAuth authentication error:
This most likely means that you have incorrectly called setup_twitter_oauth()'

我无法将Twitter连接到R。

你可以在认证中帮我解决一下吗?

0 个答案:

没有答案