Query the instance for the timeline from either followed users or a specific list. These functions can only be called with a user token from create_token()
.
get_timeline_home(
local = FALSE,
max_id,
since_id,
min_id,
limit = 20L,
token = NULL,
parse = TRUE,
retryonratelimit = TRUE,
verbose = TRUE
)get_timeline_list(
list_id,
max_id,
since_id,
min_id,
limit = 20L,
token = NULL,
parse = TRUE,
retryonratelimit = TRUE,
verbose = TRUE
)
statuses
logical, Show only local statuses?
character or POSIXct
(date time), Return results older than this id
character or POSIXct
(date time), Return results newer than this id
character or POSIXct
(date time), Return results immediately newer than this id
integer, Maximum number of results to return
user bearer token (read from file by default)
logical, if TRUE
, the default, returns a tibble. Use FALSE
to return the "raw" list corresponding to the JSON returned from the Mastodon API.
If TRUE, and a rate limit is exhausted, will wait until it refreshes. Most Mastodon rate limits refresh every 5 minutes. If FALSE, and the rate limit is exceeded, the function will terminate early with a warning; you'll still get back all results received up to that point.
logical whether to display messages
character, Local ID of the list in the database.
max_id
, since_id
, and min_id
can either be character or POSIXct
(date time). If it is POSXIct
, it will be converted to the so-called snowflake ID.
https://docs.joinmastodon.org/methods/timelines/
if (FALSE) {
get_timeline_home()
}
if (FALSE) {
get_timeline_list("")
}
Run the code above in your browser using DataLab