You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.
The behaviour of the program is deviated from what is described in the documentation.
I can reproduce this problem for more than one time.
This is NOT a 3-digit error -- it does not display an error message like something went wrong. Status code: 400.
This is a 3-digit error and I have consulted the Understanding API errors vignette and the suggestions do not help.
Describe the bug
Hello,
I am trying to get Donald Trump's tweets from February, 2020 to July 2020 using academictwitteR. However, it is not letting me get them even though the account has been restablished by Twitter a couple of days ago.
Please confirm the following
something went wrong. Status code: 400.
Describe the bug
Hello,
I am trying to get Donald Trump's tweets from February, 2020 to July 2020 using academictwitteR. However, it is not letting me get them even though the account has been restablished by Twitter a couple of days ago.
Expected Behavior
Get tweets.
Steps To Reproduce
#I am trying two ways of getting these tweets:
#Function get_all_tweets
get_all_tweets(users = c("realDonaldTrump"),
start_tweets = "2020-02-01T00:00:00Z",
end_tweets = "2020-07-01T00:00:00Z",
bearer_token = get_bearer(),
n = 5000)
#Function get_user_timelime
get_user_timeline(
"25073877",
start_tweets = "2020-02-01T00:00:00Z",
end_tweets = "2020-07-01T00:00:00Z",
bearer_token = get_bearer(),
n = 5000,
)
Environment
R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22621)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8 LC_MONETARY=English_United States.utf8
[4] LC_NUMERIC=C LC_TIME=English_United States.utf8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] academictwitteR_0.3.1 forcats_0.5.2 stringr_1.4.1 dplyr_1.0.10 purrr_0.3.5
[6] readr_2.1.3 tidyr_1.2.1 tibble_3.1.8 ggplot2_3.4.0 tidyverse_1.3.2
[11] data.table_1.14.4
loaded via a namespace (and not attached):
[1] tidyselect_1.2.0 haven_2.5.1 gargle_1.2.1 colorspace_2.0-3 vctrs_0.5.0
[6] generics_0.1.3 usethis_2.1.6 utf8_1.2.2 rlang_1.0.6 readtext_0.81
[11] pillar_1.8.1 glue_1.6.2 withr_2.5.0 DBI_1.1.3 bit64_4.0.5
[16] dbplyr_2.2.1 modelr_0.1.10 readxl_1.4.1 lifecycle_1.0.3 munsell_0.5.0
[21] gtable_0.3.1 cellranger_1.1.0 rvest_1.0.3 tzdb_0.3.0 curl_4.3.3
[26] fansi_1.0.3 broom_1.0.1 scales_1.2.1 backports_1.4.1 googlesheets4_1.0.1
[31] vroom_1.6.0 jsonlite_1.8.3 fs_1.5.2 bit_4.0.4 hms_1.1.2
[36] stringi_1.7.8 grid_4.2.2 cli_3.4.1 tools_4.2.2 magrittr_2.0.3
[41] crayon_1.5.2 pkgconfig_2.0.3 ellipsis_0.3.2 xml2_1.3.3 reprex_2.0.2
[46] googledrive_2.0.0 lubridate_1.9.0 timechange_0.1.1 assertthat_0.2.1 httr_1.4.4
[51] rstudioapi_0.14 R6_2.5.1 compiler_4.2.2
Anything else?
No response
The text was updated successfully, but these errors were encountered: