我是R的新手,我试图通过Twitter推文进行情绪分析。我已经安装了twitteR
和base64enc
以及更新了httr
包。但是在我输入后仍然是:
consumer_key <- 'XXX'
consumer_secret <- 'XXX'
access_token <- 'XXX'
access_secret <- 'XXX'
setup_twitter_oauth(consumer_key , consumer_secret, access_token, access_secret)
我收到了错误
Error in check_twitter_oauth() : OAuth authentication error:
This most likely means that you have incorrectly called setup_twitter_oauth()'
我不知道如何解决问题,有人可以帮忙吗?