'Rstudio won't open browser to authorize rtwewt

I just bought a new laptop. Installed R, Rstudio. I tried to use rtweet without creating a twitter app--which i have done tens of times in my old laptop.

Installed rtweet, installed httpuv, then when i ran my command:

tw<-get_timeline ("user)

Instead of the usual process of opening a browser and giving authorization, I get this error message

Error in `default_cached_auth()`: 
! No default authentication found. Please call `auth_setup_default()`

and when I run auth_setup_default()'

it gives me this error message:

Error in httr::init_oauth1.0(endpoint, app, permission = permission, is_interactive = is_interactive,  :  Not Found (HTTP 404).


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source