This is the error I am getting once I click on sign up and authorize the app with Facebook.
: {"error":{"message":"Error validating application. Invalid application ID.","type":"OAuthException","code":101}}
I don't know how to fix this and where the error is coming from. Here is my omniauth.rb
Rails.application.config.middleware.use OmniAuth::Builder do
provider :developer unless Rails.env.production?
provider :facebook, ['I_PUT_MY_API_ID_KEY'], ['I_PUT_MY_API_SECRET_KEY'],
:scope => 'email, user_relationships, user_status,user_about_me publish_actions', :display => 'popup'
end
mybe use
provider :facebook, ['I_PUT_MY_API_ID_KEY'], ['I_PUT_MY_API_SECRET_KEY']
to
provider :facebook, "I_PUT_MY_API_ID_KEY", "I_PUT_MY_API_SECRET_KEY"
It worked without the brackets when I took off "[" and "]"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With