View source: R/timelines_statuses.R
get_timeline_home | R Documentation |
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
)
local |
logical, Show only local statuses? |
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 |
token |
user bearer token (read from file by default) |
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 |
list_id |
character, Local ID of the list in the database. |
statuses
https://docs.joinmastodon.org/methods/timelines/
## Not run:
get_timeline_home()
## End(Not run)
## Not run:
get_timeline_list("<listid>")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.