Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Facebook/Spine game.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 assets
Octocat-spinner-32 public
Octocat-spinner-32 vendor
Octocat-spinner-32 views
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 Guardfile
Octocat-spinner-32 Procfile
Octocat-spinner-32 README.md
Octocat-spinner-32 app.rb
Octocat-spinner-32 config.ru
README.md

Facebook Zombies

An example application showing how to use the Facebook friend API and create a friend selector using Spine.

See the blog post for more information.

Interesting code

The most interesting code is under assets/javascripts/app/controllers/friend_selector.coffee. This is a Spine Controller that creates a Facebook friend selector, allowing users to toggle multiple selected friends.

Usage

  1. Setup env variables
  2. Run: bundle install
  3. Run: be rackup

Env variables

You'll need to set the env variables FACEBOOK_APP_ID and FACEBOOK_SECRET as detailed in the Heroku Facebook guide.

Something went wrong with that request. Please try again.