Skip to contents

Process and paginate raw results from Facebook's API, result of querying the API with httr::GET or by passing an API link.

Usage

fb_process(input, paginate = TRUE, sleep = 0, quiet = FALSE, ...)

Arguments

input

GET's output object (response) or link (character).

paginate

Boolean or integer. Run through all paginations? If set to FALSE, only the first one will be processed. If set to any other integer value, will process the first N paginations.

sleep

Numeric value. How much should each loop wait until until running the next pagination query?

quiet

Boolean. Quiet messages?

...

Additional parameters.

Value

data.frame with un-nested processed results or NULL if no results found.