Description Usage Arguments Value
Get results of a synchronous query from FB graph API
1 2 3 | fbad_request(fbacc, path, method = c("GET", "POST", "DELETE"),
params = list(), debug = FALSE, log = TRUE,
version = fb_api_most_recent_version(), retries = 0)
|
fbacc |
(optional) |
path |
API request path (i.e. endpoint) |
method |
HTTP request type (e.g. GET or POST or DELETE) |
params |
a name-value list of form parameters for API query |
debug |
print debug messages by calling Curl verbosely |
log |
print log messages or suppress those |
version |
Facebook Marketing API version |
retries |
number of times the current query was tried previously – used to handle network errors |
json object containing results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.