Skip to content

Ruby on Rails application that provides analytics for Facebook posts of a Facebook page. A user should be able to login using Facebook, authorize access for a specific page they administer, and see a display of that pages' top 5 posts as well as a sortable table of 100 most recent posts.

License

Notifications You must be signed in to change notification settings

rsumilang/fb-page-analytics-ror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

This README would normally document whatever steps are necessary to get the application up and running.

This source code is accompanied by this blog post: richardsumilang.com/programming/ruby/ror/facebook-page-analytics-ror/

  • Ruby version

ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]

  • System dependencies

Rails 4.2.5

  • Configuration

The following environment variables must be set:

  • FB_APP_ID

  • FB_APP_SECRET

  • Database creation

rake db:migrate

  • How to run the test suite

  • rake test: runs all unit, functional and integration tests.

  • rake test:units: runs all the unit tests.

  • rake test:functionals: runs all the functional tests.

  • rake test:integration: runs all the integration tests. Each one of these commands requires some time and they are not the best solution while developing a new feature or fixing a bug. In this circumstance we just want to have a quick feedback from the unit test of the code we are editing.

  • How to run the application

Run the application server:

rails s

Run the job worker:

rake jobs:work

License

fb-page-analytics-ror by Richard Sumilang is licensed under a Creative Commons Attribution 4.0 International License. Based on a work at github.com/rsumilang/fb-page-analytics-ror.

creativecommons.org/licenses/by/4.0/

About

Ruby on Rails application that provides analytics for Facebook posts of a Facebook page. A user should be able to login using Facebook, authorize access for a specific page they administer, and see a display of that pages' top 5 posts as well as a sortable table of 100 most recent posts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published