Facebook Redirect url in ruby on rails open ssl error

I have followed the omniauth devise facebook app as explained by Ryan in episode 235.After the user authorizes we are getting the error at http://localhost:3000/auth/facebook/callback?code=13444...

The following are the facebook settings : App Domain : localhost siteurl: locahost:3000/ canvas url: http://localhost:3000/auth/facebook/

please tell me where am i going wrong?


In one project, we had to add this code to config/environments/development.rb to get Facebook connect working for local development:


I was working in rails 4 and this link gave me what I needed to get it working. Just follow the instructions. You'll need to download rails installer then run two command line functions.

This link https://gist.github.com/fnichol/867550

Need Your Help

Merge and Sort two Eloquent Collections?

php mysql laravel eloquent

I've two Collections and I want merge it to one variable (of course, with ordering by one collumn - created_at). How Can I do that?

How can I gzip standard in to a file and also print standard in to standard out?

linux bash shell tee

I want to execute a command, have the output of that command get gzip'd on the fly, and also echo/tee out the output of that command.