lemmy_get_site_metadata | R Documentation |
HTTP.GET /post/site_metadata
lemmy_get_site_metadata(
url,
.lemmy_instance = getOption("lemmy_instance", "https://lemmy.world")
)
url |
A character value. |
.lemmy_instance |
Default: "https://lemmy.world". Change the default instance by setting the |
A list
of length 1:
<list> `-metadata: <list> |-title: (Optional) A character value |-description: (Optional) A character value |-image: (Optional) A character value `-embed_video_url: (Optional) A character value
site_metadata <- lemmy_get_site_metadata("https://feddit.de")
site_metadata$metadata$title
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.