Example login and integration with facebook using Rails and gem omniauth-facebook.
Background jobs are used to:
generate the server tokem
and to seek User data once per minute.
you will need:
- The first thing we need to do is set up a Facebook application.
- Get the "app id" and save the environment variable FACEBOOK_KEY
- Get the "app secret" and save the environment variable FACEBOOK_SECRET
- To run on localhost: 3000, seven "Site URL" as http://localhost:3000
ruby 2.2.0
Sidekiq
Sidetiq
Omniauth-facebook
Sidekiq run in a terminal and another terminal run the server
bundle exec sidekiq
rails s