R/fbErrors.R

Defines functions fb_error_body

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
}

Try the rfacebookstat package in your browser

Any scripts or data that you put into this service are public.

rfacebookstat documentation built on April 17, 2026, 5:08 p.m.