Learn R Programming

lares (version 5.2.13)

fb_process: Paginate and Process Facebook's API Results

Description

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, ...)

Value

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

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.

See Also

Other API: bring_api(), fb_accounts(), fb_ads(), fb_creatives(), fb_insights(), fb_report_check(), fb_rf(), fb_token(), gemini_ask(), gpt_ask(), li_auth(), li_profile(), queryGA(), slackSend()

Other Meta: fb_accounts(), fb_ads(), fb_creatives(), fb_insights(), fb_report_check(), fb_rf(), fb_token()