get_followers {atrrr} | R Documentation |
Get followers and follows of an actor
Description
Get followers and follows of an actor
Usage
get_followers(
actor,
limit = 25L,
cursor = NULL,
parse = TRUE,
verbose = NULL,
.token = NULL
)
get_follows(
actor,
limit = 25L,
cursor = NULL,
parse = TRUE,
verbose = NULL,
.token = NULL
)
Arguments
actor |
user handle to look up followers for. |
limit |
Maximum number of records to return. For queries with more than 100 results, pagination is used automatically (one request per 100 results). The function stops when the limit is reached, but you will usually get a few items more than requested. |
cursor |
Cursor for pagination (to pick up an old search). |
parse |
Parse the results or return the original nested object sent by the server. |
verbose |
Whether to print status messages to the Console
( |
.token |
If you manage your own tokens, you can supply it here. Usually
|
Value
a data frame (or nested list) of found actors.
Examples
## Not run:
get_followers("benguinaudeau.bsky.social")
# get first page of results
follows_df <- get_follows("favstats.bsky.social", limit = 25L)
# continue same search, starting from the next match
follows_df2 <- get_follows("favstats.bsky.social", limit = 25L,
cursor = attr(follows_df, "last_cursor"))
## End(Not run)