Learn R Programming

rtoot (version 0.3.4)

get_account_relationships: 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)

Value

tibble or list of relationships

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

Examples

Run this code
if (FALSE) {
fol <- get_account_followers("109302436954721982")
get_account_relationships(fol$id)
}

Run the code above in your browser using DataLab