Error in readRDS(x) : error reading from connection

Hi, I have a home work on collecting data from Twitter. I use the package twitteR to collect tweets and there is no problem. Now I have to get friends and followers of a user. For that, I don't find a function in twitteR so I use the package rtweet. That is where I have the following error when I run the code:
'Error in readRDS(x) : error reading from connection'. Does anyone knows what is the problem?
Thank you very much.

The rtweet uses a different but similar auoth code than twitteR. You have to make a single "token" with your keys and call out the specific name of your API app.
please see:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.