FAQ Database Discussion Community


How to save the request.referrer for facebook omniauth in Rails 4

ruby-on-rails,ruby-on-rails-4,omniauth-facebook
I have two facebook buttons in my application. One on users/sign_up and other on /visitors/owner-faq. I want to save the request.referrer in order to know from which page the user has signed up. I had implemented the same for external signup(which uses a form) and it worked. Now I'm unable...

Omniauth Facebook Devise fails production Heroku but works in development

ruby-on-rails,heroku,devise,omniauth,omniauth-facebook
I developed this app on Nitrous.io (using a heroku postgresql DB). Omniauth works correctly when tested on that platform. When I try on production Heroku, I get a "The parameter app_id is required" error from facebook. inside devise.rb config.omniauth :facebook, ENV["FB_APP_ID"], ENV["FB_APP_SECRET"] My facebook developer site url's and callbacks are...

Omniauth configuration in secrets rails 4

ruby-on-rails-4,configuration,omniauth-facebook
I'm trying to configure different environments so I can test Facebook login. Production works fine, but I'm having trouble with the correct way to include my development credentials. I'm trying to use secrets.yml since that is what I've used to store other api credentials. Here's what I've got in the...

Want to save facebook image into my rails app

ruby-on-rails,facebook,facebook-graph-api,open-uri,omniauth-facebook
I am using ominauth to signup users in my rails app.i also have a basic signup option with email address also. So for both users i have to save upload user picture in my file system I have regular file upload for my email users but for FB users i...

what s wrong with my authentication system in the actual heroku app?

authentication,heroku,devise,omniauth-facebook
I tried to implement logging and sign up with devise, omniauth and facebook. Now it looks like the facebook implementation works but whenever I try to log in the hroku site through facebook, it renders an error and says: "Check your logs. Here are my logs: 2015-05-17T18:23:35.994186+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.1.8/lib/rails/application.rb:144:in `call'...

Facebook Connect - The parameter app_id is required

facebook,ruby-on-rails-3,devise,omniauth-facebook
I try to install FB Connect on my website ChercheAvocat (Rails 3), but after clicking on the link "Sign in with Facebook" I have an error " The parameter app_id is required". URL :https://www.facebook.com/dialog/oauth?client_id=&display=popup&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fcustomers%2Fauth%2Ffacebook%2Fcallback&response_type=code&scope=email&state=fbe0db878d8d47b896aa18f40e00d5f1e117dde9bef55de9 I have created the app (Chercheavocat-login) on Developers.Facebook and I have added the ID into the...