fbad_request {fbRads} | R Documentation |
Get results of a synchronous query from FB graph API
Description
Get results of a synchronous query from FB graph API
Usage
fbad_request(
fbacc,
path,
method = c("GET", "POST", "DELETE"),
params = list(),
debug = FALSE,
log = TRUE,
version,
retries = 0
)
Arguments
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, defaults to what was used in the most recent |
retries |
number of times the current query was tried previously – used to handle network errors |
Value
json object containing results
[Package fbRads version 17.0.0 Index]