Skip to contents

Usage

cc_get_fb_user(
  fb_user_token = NULL,
  fields = c("id", "name"),
  format = "data.frame"
)

Format

Defaults to "data.frame". If "list", a list is returned instead; useful e.g. when the "picture" field is requested.

Arguments

fb_user_token

Facebook user token (not a page token).

Value

By default, a data frame with one row and two character columns, "name" and "id". Customisable with the `format` argument.

Examples

if (FALSE) { # \dontrun{
cc_get_fb_user()
} # }