(fetch-user-id! & {:keys [domain username]})Follows the webfinger request to a remote domain, retrieving the ID of the requested account. Expected to return a string in the form of a URL.
Follows the webfinger request to a remote domain, retrieving the ID of the requested account. Expected to return a string in the form of a URL.
(parse-handle handle)Given an ActivityPub handle (e.g. @jahfer@mastodon.social), produces a map containing {:domain ... :username ...}.
Given an ActivityPub handle (e.g. @jahfer@mastodon.social), produces
a map containing {:domain ... :username ...}.(reset-user-id-cache!)Removes all entries from the user-id cache, which is populated with results from [[fetch-user-id]].
Removes all entries from the user-id cache, which is populated with results from [[fetch-user-id]].
(resource-url domain username & [params])Builds a URL pointing to the user's account on the remote server.
Builds a URL pointing to the user's account on the remote server.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |