I followed the omniauth dev facebook app, as Ryan explained in episode 235. After user authorization, we get an error in http: // localhost: 3000 / auth / facebook / callback? Code = 13444 ...
The following are the facebook settings: Application 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 enable Facebook for local development:
config/environments/development.rb
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
I worked in rails 4 and this link gave me what I need to get it working. Just follow the instructions. You will need to download the rails utility and then run the two command line functions.
This link is https://gist.github.com/fnichol/867550