get_account_followers: Get followers of a user

View source: R/accounts.R

get_account_followersR Documentation

Get followers of a user

Description

Get followers of a user

Usage

get_account_followers(
  id,
  max_id,
  since_id,
  limit = 40L,
  token = NULL,
  parse = TRUE,
  retryonratelimit = TRUE,
  verbose = TRUE
)

Arguments

id

character, local ID of a user (this is not the username)

max_id

character, Return results older than this id

since_id

character, Return results newer than this id

limit

integer, maximum number of results to return. Defaults to 40.

token

user bearer token (read from file by default)

parse

logical, if TRUE, the default, returns a tibble. Use FALSE to return the "raw" list corresponding to the JSON returned from the Mastodon API.

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

Details

this functions needs a user level auth token. If limit>40, automatic pagination is used. You may get more results than requested.

Value

tibble or list of followers

Examples

## Not run: 
get_account_followers("109302436954721982")

## End(Not run)

rtoot documentation built on May 29, 2024, 2:14 a.m.