Skip to content
4f6e406
12 lines (8 sloc) 261 Bytes
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
Something went wrong with that request. Please try again.