Verify mastodon credentials
verify_credentials(token, verbose = TRUE) verify_envvar(verbose = TRUE)
token
: bearer token, either public or user levelverbose
: logical whether to display messagesRaise an error if the token is not valid. Return the response from the verification API invisibly otherwise.
If you have created your token as an environment variable, use verify_envvar
to verify your token.
## Not run: # read a token from a file verify_credentials(token) ## End(Not run)
Useful links