I'm following this railscast tutorial to set up omniauth for facebook authentication on my rails project: http://railscasts.com/episodes/360-facebook-authentication?autoplay=true. I'm 4 minutes in and all I've done so far is bundle the gem omniauth-facebook and added,
omniauth.rb
OmniAuth.config.logger = Rails.logger
Rails.application.config.middleware.use OmniAuth::Builder do
provider :facebook, ENV['my id here...'], ENV['my secret code here...']
end
and then when I go to http://localhost:3000/auth/facebook I get an error saying The parameter app_id is required.
source ~/.bashrcwould be a common mistake). You can stop your server, and, in the same console, typeprintenv | grep FACEBOOK_APP_IDor whatever your env variable is named - dgilperez