Skip to contents

get a bearer token for the mastodon api

Usage

create_token(client, type = "public", browser = TRUE)

Arguments

client

rtoot client object created with get_client

type

one of "public" or "user". See details

browser

if TRUE (default) a browser window will be opened to authenticate, else the URL will be provided so you can copy/paste this into the browser yourself

Value

a mastodon bearer token

Details

TBA

References

https://docs.joinmastodon.org/client/authorized/