fb_process: Paginate and Process Facebook's API Results

View source: R/facebook.R

fb_processR Documentation

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

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.

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()


lares documentation built on Sept. 13, 2024, 1:08 a.m.