View statuses above and below this status in the thread
Source:R/timelines_statuses.R
get_context.Rd
Query the instance for information about the context of a specific status. A context contains statuses above and below a status in a thread.
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
NULL
, the same instance used to obtain the token is used.- 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
TRUE
, the default, returns a named list of two tibbles, representing the ancestors (statuses above the status) and descendants (statuses below the status). UseFALSE
to return the "raw" list corresponding to the JSON returned from the Mastodon API.