This repository was archived by the owner on Nov 10, 2024. It is now read-only.

Description
Problem
I just installed rtweet v 1.1.0 in a new machine and I cannot authenticate. When I run auth_setup_default()
I get the following error:
Error in httr::init_oauth1.0(endpoint, app, permission = permission, is_interactive = is_interactive, : Bad Request (HTTP 400).
Expected behavior
Rtweet should authenticate using my twitter credentials from my logged account in default web browser.
Reproduce the problem
- Install latest rtweet version (
install.packages("rtweet", repos = 'https://ropensci.r-universe.dev')
)
- Authenticate running
rtweet::auth_setup_default()
rtweet version
## copy/paste output
packageVersion("rtweet")
‘1.1.0.9000’
Session info
## copy/paste output
> sessionInfo()
R version 4.2.2 (2022-10-31)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.1
Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] Rcpp_1.0.9 withr_2.5.0 digest_0.6.31 later_1.3.0 R6_2.5.1 magrittr_2.0.3
[7] httr_1.4.4 rlang_1.0.6 cli_3.6.0 curl_5.0.0 rstudioapi_0.14 promises_1.2.0.1
[13] rtweet_1.1.0.9000 xaringanExtra_0.7.0 tools_4.2.2 htmlwidgets_1.6.1 httpuv_1.6.8 xfun_0.36
[19] fastmap_1.1.0 compiler_4.2.2 askpass_1.1 htmltools_0.5.4 openssl_2.0.5 knitr_1.41
>