View source: R/timelines_statuses.R
get_timeline_public | R Documentation |
Query the instance for the public timeline
get_timeline_public(
local = FALSE,
remote = FALSE,
only_media = FALSE,
max_id,
since_id,
min_id,
limit = 20L,
instance = NULL,
token = NULL,
anonymous = FALSE,
parse = TRUE,
retryonratelimit = TRUE,
verbose = TRUE
)
local |
logical, Show only local statuses? |
remote |
logical, Show only remote statuses? |
only_media |
logical, Show only statuses with media attached? |
max_id |
character, Return results older than this id |
since_id |
character, Return results newer than this id |
min_id |
character, Return results immediately newer than this id |
limit |
integer, Maximum number of results to return |
instance |
character, the server name of the instance where the status is located. If |
token |
user bearer token (read from file by default) |
anonymous |
some API calls do not need a token. Setting anonymous to TRUE allows to make an anonymous call if possible. |
parse |
logical, if |
retryonratelimit |
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. |
verbose |
logical whether to display messages |
statuses
https://docs.joinmastodon.org/methods/timelines/
## Not run:
## as tibble
get_timeline_public()
## as list
get_timeline_public(parse = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.