Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Facebook Scraper for the Punch Time Explosion Fan Page
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
stats.rb
travis.rb

README.md

travis.rb

This is a very basic Facebook scraper that scrapes the Punch Time Explosion fan page posts and comments - this was built for the purpose of doing some basic statistical analysis on Travis Cox's, um, interesting posts.

It imports all posts into a mongodb database, so you'll need ruby and the Mongoid gem. Run it as follows:

$ ruby travis.rb fb_api_key

You can get a Facebook API key at https://developers.facebook.com/tools/explorer - just click "Get Access Token" then copy-paste.

There's a basic stats.rb file as an example of the kind of stats that can be generated. Future ideas for expansion would be sentiment analysis, writing level analysis, posts-per-month, etc.

Thanks for the fun, Travis! :)

Something went wrong with that request. Please try again.