get_context {rtoot} | R Documentation |
View statuses above and below this status in the thread
Description
Query the instance for information about the context of a specific status. A context contains statuses above and below a status in a thread.
Usage
get_context(id, instance = NULL, token = NULL, anonymous = FALSE, parse = TRUE)
Arguments
id |
character, local ID of a status in the database |
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 |
Value
context of a toot as tibble or list
Examples
## Not run:
get_context(id = "109294719267373593", instance = "mastodon.social")
## End(Not run)