Closed sbw78 closed 3 years ago
This now looks ok to me:
library(dplyr, warn.conflicts = FALSE)
rtweet::get_my_timeline() %>%
select(status_id, created_at, screen_name, text)
#> # A tibble: 92 x 4
#> status_id created_at screen_name text
#> <chr> <dttm> <chr> <chr>
#> 1 136565089957… 2021-02-27 13:12:01 pycoders "Python Concurrency: The Tric…
#> 2 136564966753… 2021-02-27 13:07:07 KimFlaggSel… "Today MGB highlights Ranthon…
#> 3 136564679113… 2021-02-27 12:55:42 abtran "Hey, here's your dose of mea…
#> 4 136564412035… 2021-02-27 12:45:05 vboykis "@vboykis Definitely call me …
#> 5 136564123526… 2021-02-27 12:33:37 vboykis "@vboykis Call me when AI has…
#> 6 136563889334… 2021-02-27 12:24:19 vboykis "Call me when AI has figured …
#> 7 136563622150… 2021-02-27 12:13:42 vboykis "Pattern Matching (PEP 634-63…
#> 8 136562754824… 2021-02-27 11:39:14 hadleywickh… "@yutannihilat_en It would be…
#> 9 136564229396… 2021-02-27 12:37:49 hadleywickh… "@carroll_jono I mean out of …
#> 10 136564388151… 2021-02-27 12:44:08 hadleywickh… "@smartin2018 @romunov @gdbas…
#> # … with 82 more rows
Created on 2021-02-27 by the reprex package (v1.0.0)
Problem
get_my_timeline
returns today's date forcreated_at
column instead of statuses' actual created dateFor example, a status with a creation date of "2019-02-04 18:06:15" instead has a creation date of "2020-10-01 14:08:05" (whatever the current date-time is) when the function is run.
get_timeline
does not have this issue.Expected behavior
created_at
should be the date at which the status was created, not the date it was accessed via rtweet.Reproduce the problem
rtweet version
rtweet version 0.7.0
Session info
Token