Metadata-Version: 1.0
Name: django-facebook
Version: 2.0
Summary: Facebook open graph API client in python. Enables django applications to register users using facebook.
Fixes issues with the official but unsupported Facebook python-sdk. Enables mobile facebook authentication.
Canvas page authentication for facebook applications. FQL access via the server side api. 

Home-page: http://github.com/tschellenbach/Django-facebook
Author: Thierry Schellenbach
Author-email: thierryschellenbach@gmail.com
License: Copyright (c) Thierry Schellenbach

 (http://www.mellowmorning.com)
All rights reserved.

Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of Thierry Schellenbach. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission of Thierry Schellenbach.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Description: ############################################
        Django Facebook by Thierry Schellenbach (http://www.mellowmorning.com)
        ############################################
        
        About Django Facebook
        --------
        
        Django Facebook allows you to connect to the Facebook Open Graph API.
        
        Features
        Access the Facebook API
        Django User Registration (Use Facebook data to register a user with your Django app. Facebook connect using the open graph API. Similar to a login flow.)
        Canvas Page signature parsing and authentication (If your building facebook apps)
        
        Works best with
        --------
        
        registration
        django auth
        
        TODO (help appreciated)
        --------
        
        testing (especially a dummy FB api)
        separate user data conversion and FB api improvements
        fully replace the facebook GraphAPI which they no longer support
        
        
        New in Version 2.0 Alpha
        --------
        
        canvas page support for facebook applications
        mobile facebook registration support (tested with titanium FB flow)
        less requirements (jinja, view decorator, django notify and cjson requirements removed)
        fql support
        
        
        Installing
        --------
        
        Step 0 - Create a facebook app
        In case you don't yet have a facebook app. You need an app to use the open graph api and make the login process work.
        You can create a facebook app at this url:
        http://www.facebook.com/developers/createapp.php
        
        Step 1 - Settings:
        Define the settings mentioned in django_facebook/settings.py in your settings.py file
        
        Step 2 - Url config:
        add
        (r'^facebook/', include('django_facebook.urls')),
        to your global url file
        
        Step 3 - Template Context Processor
        add this line to your context processors
        'django_facebook.context_processors.facebook',
        
        Step 3 - Ensure the FB JS api is available on all pages you want to login
        [Facebook JS API](http://developers.facebook.com/docs/reference/javascript/)
        
        Step 4 - Update your models
        
        Add to your user profile model
        about_me = models.TextField(blank=True, null=True)
        facebook_id = models.IntegerField(blank=True, null=True)
        facebook_name = models.CharField(max_length=255, blank=True, null=True)
        facebook_profile_url = framework_fields.URLTextField(blank=True, null=True)
        website_url = framework_fields.URLTextField(blank=True, null=True)
        blog_url = framework_fields.URLTextField(blank=True, null=True)
        image = models.ImageField(blank=True, null=True)
        date_of_birth = models.DateField(blank=True, null=True)
        
        Step 5 - Template
        See examples/connect.html
        
        
        Django Jobs
        --------
        Do you also see the beauty in clean code? Are you experienced with high scalability web apps?
        Currently we're looking for additional talent over at our Amsterdam office.
        Feel free to drop me a line at my personal email for more information: thierryschellenbach[at]gmail.com
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Software Development :: Libraries :: Python Modules
