Learn R Programming

lares (version 4.7)

fb_posts: Get Facebook's Page Posts (API Graph)

Description

Connect to an API Graph's token of a given page and get posts, comments, shares, and reactions of n posts (with no limits).

Usage

fb_posts(token, total = 150, limit = 100, comments = FALSE,
  shares = FALSE, reactions = FALSE)

Arguments

token

Character. Access token. Generate it for any of your users or apps in https://developers.facebook.com/tools/explorer

total

Integer. How many most recent posts do you need?

limit

Integer. For each post, hoy many results do you need?

comments, shares, reactions

Boolean. Include in your query?

See Also

Other Scrapper: fb_accounts, fb_ads, fb_insights, fb_post, geoStratum, holidays, ip_country, trendsRelated

Other API: bring_api, fb_accounts, fb_ads, fb_insights, fb_post

Other Facebook: fb_accounts, fb_ads, fb_insights, fb_post