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.
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.
- Setup env variables
- Run:
bundle install
- Run:
be rackup
You'll need to set the env variables FACEBOOK_APP_ID
and FACEBOOK_SECRET
as detailed in the Heroku Facebook guide.