This is a working demo facebook authentication app using Ruby on Rails.
You can see a tutorial for this here
-
Clone it.
-
Create your database.
-
Run the migrations.
-
Run
bundle install
to install all necessary dependencies. -
Setup
omniauth.rb
with your facebook app credentials. (app id and app secret)