get_account_relationships: Find out whether a given account is followed, blocked, muted,...

View source: R/accounts.R

get_account_relationshipsR Documentation

Find out whether a given account is followed, blocked, muted, etc.

Description

Find out whether a given account is followed, blocked, muted, etc.

Usage

get_account_relationships(ids, token = NULL, parse = TRUE)

Arguments

ids

vector of account ids

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.

Details

this functions needs a user level auth token

Value

tibble or list of relationships

Examples

## Not run: 
fol <- get_account_followers("109302436954721982")
get_account_relationships(fol$id)

## End(Not run)

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