Skip to content

srBruning/sample_facebook

Repository files navigation

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 version


ruby 2.2.0

Dependencies


Sidekiq
Sidetiq
Omniauth-facebook

Running


Sidekiq run in a terminal and another terminal run the server
bundle exec sidekiq
rails s

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published