Skip to content

sdoering/facebook-page-post-scraper

 
 

Repository files navigation

facebook-page-post-scraper

Data scraper for Facebook Pages, and also code accompanying the blog post How to Scrape Data From Facebook Page Posts for Statistical Analysis.

The actual data scraper is implemented in get_fb_posts_fb_pages.py; fill in the App ID and App Secret of a Facebook app you control (I strongly recommend creating an app just for this purpose) and the Page ID of the Facebook Page you want to scrape at the beginning of the file.

The CSVs for NYTimes and BuzzFeed data are not included in this repository due to size; you can download the NYTimes data here [4.6MB] and the BuzzFeed data here [1.5MB]

About

Data scraper for Facebook Pages, and also code accompanying the blog post How to Scrape Data From Facebook Page Posts for Statistical Analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 63.4%
  • Python 36.6%