Simple facebook auth for Django.
Project description
# django-fbauth
Simple facebook auth for Django.
## Installation
Clone the source code or use pip:
pip install django-fbauth
## Setup
Add URL-patterns:
url(r’^’, include(‘chimbotedev.apps.fbauth.urls’)),
Open settings.py and add ‘fbauth’ to your INSTALLED_APPS:
‘fbauth’,
Define the following settings in your settings.py file:
FACEBOOK_API_KEY = "" FACEBOOK_SECRET = ""
## Usage
Login:
{% url ‘fb_login’ %}
Logout:
{% url ‘fb_logout’ %}