Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SUMMARY

Spree Facebook Connect adds Facebook Connect to Spree allowing the user to login with their Facebook id and also provide the applicaiton the ability to leverage viral channel on Facebook to promote and market the products.

QUICK START

  1. Create a spree instance

    $ spree my_fb_shop

  2. Create the necessary config/database.yml file

  3. Add the following plugins and extensions. I use braid to manage extensions/plugins.

The plugins/extensions are from my version of the forks as the extensions depends on a couple modifications that have not been merged into the official version.

  1. Add Facebooker which is the Ruby library to Facebook platform

    $ ./script/plugin install git://github.com/taweili/facebooker.git

or

$ braid add -p git://github.com/taweili/facebooker.git

  1. Add Authlogic Facebook Connect Extension

    $ ./script/plugin install git://github.com/taweili/authlogic_facebook_connect.git

or

$ braid add -p git://github.com/taweili/authlogic_facebook_connect.git

  1. Add Facebook Connect Extension

    $ ./script/extension install git://github.com/taweili/spree-facebook-connect.git

or

$ braid add git://github.com/taweili/spree-facebook-connect.git vendor/extensions/facebook_connect

  1. Get a Facebook App key and secret at the Facebook Developer

  2. Configure the config/facbeooker.yml according to this tutorial

  3. Set up the database. This extension adds two fields to User to hold Facebook id and session key.

    $ rake db:migrate

Now, run the app and you should see Facebook Connect button on top of the page next to Login

About

A Facebook Connnect extension to Spree

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors