rtweet package: auth_setup_default() does not work

1.5k Views Asked by At

when I run search_tweets function, I got:

Error in default_cached_auth(): ! No default authentication found. Please call auth_setup_default() Run rlang::last_error() to see where the error occurred.

So I run auth_setup_default(), and I got:

Error in httr::init_oauth1.0(endpoint, app, permission = permission, is_interactive = is_interactive, : Bad Request (HTTP 400).

This happened just after I upgraded R and R studio. How can I fix it?

0

There are 0 best solutions below