fb_error_body <- function(resp) {
body <- resp_body_json(resp)
message <- str_glue("{body$error$message} (code: {body$error$code} / subcode {body$error$error_subcode})")
message
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.