ITPNYU / Obamathon

Example code and data for ITP's Obamathon Day
https://www.eventbrite.com/e/obamathon-tickets-30256812942
33 stars 24 forks source link

Facebook Scraping #1

Open shiffman opened 7 years ago

shiffman commented 7 years ago

I created a quick "scraping facebook" example to grab all the comments by date from https://www.facebook.com/barackobama, issues are as follows:

shiffman commented 7 years ago

Here is a list of "scrapers" that would be nice.

Here are the pages that would make sense to scrape:

Also. . .?

shiffman commented 7 years ago

With 2b888c9e3573cb0afc690c796c9a2398397a040d and 74272b37299eb30847e76eb427fcd8153499d348 I now have a working facebook scraper. I believe I've scraped everything from BarackObama and WhiteHouse (see /data for resulting files), but would be good to doublecheck. Likes, comments, etc. would need further scraping as the code I wrote only takes the first "page" of each of these with each post.