I'm having some problems implementing OAuth2 authentication with the rtweet library, when I try to start the process I get the error "The default rtweet client is no longer authorized."
client <- rtweet_client(app = "app_name")
(I have tried with the name and with the ID),
When running rtweet_client I get the error:
Error in
default_client()
: The default rtweet client is no longer authorized. i You'll need to register as a developer in order to use the Twitter API.
I also tried to pass the client_id and client_secret, in that case the same error is returned when executing rtweet_oauth2().
In the developer section of twitter I have registered the application with read/write permissions, everything as it is perfectly described in https://docs.ropensci.org/rtweet/articles/auth.html.
Can you help me?