django-la-facebook 0.1.1

Definitive facebook auth for Django

Dedicated facebook authentication for Django that does it via the backend and not javascript. Has lots of tests and a trivial-to-setup test project with working code.

Reason: http://pydanny.blogspot.com/2011/01/what-i-want-for-django-facebook-connect.html

Full Documentation: http://django-la-facebook.readthedocs.org/en/latest/index.html

Usage

Get django-la-facebook into your python path:

pip install django-la-facebook

Add la_facebook to your INSTALLED_APPS in settings.py:

INSTALLED_APPS = (
    ...
    'la_facebook',
    ...
    )

Add la_facebook to your root urlconf (urls.py):

urlpatterns = patterns('',
    ...,
    url(r"^la_facebook/", include("la_facebook.urls")),
    ...,
)

Add settings just as:

FACEBOOK_ACCESS_SETTINGS = {
        "FACEBOOK_APP_ID": FACEBOOK_APP_ID,
        "FACEBOOK_APP_SECRET": FACEBOOK_APP_SECRET,
        # The following keys are optional
        # "CALLBACK": "la_facebook.callbacks.default.default_facebook_callback",
        # "PROVIDER_SCOPE": ['email','read_stream'],
        # "LOG_LEVEL": "DEBUG",
        # "LOG_FILE": "/tmp/la_facebook.log",
}
BSD

Author

pydanny

Pip

django-la-facebook==0.1.1

Classifiers

  • Programming Language :: Python
  • Operating System :: OS Independent
  • License :: OSI Approved :: BSD License
  • Intended Audience :: Developers
  • Framework :: Django
  • Environment :: Web Environment
  • Development Status :: 5 - Production/Stable
File Type Python Version Uploaded On Downloads
django-la-facebook-0.1.1.tar.gz Source April 18, 2011 2,685
Version Release Date
0.1.1 April 18, 2011
0.1.0 Nov. 4, 2014
0.1.alpha Nov. 4, 2014
Date Package Version Action
Nov. 4, 2014, 1:22 p.m. django-la-facebook 0.1.alpha Release Created
Nov. 4, 2014, 1:22 p.m. django-la-facebook 0.1.1 Release Created
Nov. 4, 2014, 1:22 p.m. django-la-facebook 0.1.0 Release Created
Nov. 4, 2014, 1:22 p.m. django-la-facebook Package Created