Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
12 lines (8 sloc) 0.261 kb
require 'bundler/setup'
require 'omniauth-facebook'
require './app.rb'
use Rack::Session::Cookie, :secret => 'abc123'
use OmniAuth::Builder do
provider :facebook, ENV['APP_ID'], ENV['APP_SECRET'], :scope => 'email,read_stream'
end
run Sinatra::Application
Jump to Line
Something went wrong with that request. Please try again.