devtools::install_github("PolMine/fb")
The online-book „APIs for social scientists: A collaborative review“ includes a review of CrowdTangle access: https://bookdown.org/paul/apis_for_social_scientists/crowdtangle-api.html
The R package RCrowdTangle provides higher-level access to the CrowdTangle API https://github.com/cbpuschmann/RCrowdTangle