I was playing around with some code today from Mastering Social Media Mining with Python (by Marco Bonzanini, and published by the same company that published my last two books), and I came up with this snazzy set of scripts (postGetter.py, fileParser.py) that mines the last X posts from any public Facebook page, creates a clickable FB url for each, sorts them in order of most interactions (shares + likes), and creates a spreadsheet with the results.
Here are the results when run for the last 1000 posts by the Times-News of Burlington, our local newspaper: timesNews.csv.
Not that surprising or shocking, but here goes. The last 1000 only goes back to August or so (modify the params at the top of the code to make it scrape more), but the top five posts for August-December based on interactions seem to be:
- The death of Tim-Bob from Graham Cinema
- The abduction of a middle schooler from a bus stop
- Kmart closing
- 25-minute Christmas Lights show on Maple Ridge Dr.
- Housing emergency at Burlington Animal Services
No election-related or weather-related items cracked the top 20.