RailsCasts Pro episodes are now free!

Learn more or hide this

Vlad Covaliov's Profile

GitHub User: vladCovaliov

Comments by Vlad Covaliov

Avatar

provider :facebook, ENV['FACEBOOK_APP_ID'], ENV['FACEBOOK_SECRET']

This line of code will generate this error

(get { "error": { "message": "Missing client_id parameter.", "type": "OAuthException" } } )

for some versions of omniauth(i think from 1.0 + ). For this to work, change that line into:

provider :facebook, FACEBOOK_APP_ID, FACEBOOK_SECRET