django-facebook 6.0.2

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.

Contributions are strongly appreciated. Seriously, give github a try, fork and get started :)

News

  • django-facebook is now python 3 compatible! With this change, django-facebook will be dropping support for django 1.4 and the mininum required django version will be 1.5.

Demo & About

Django Facebook enables your users to easily register using the Facebook API. It converts the Facebook user data and creates regular User and Profile objects. This makes it easy to integrate with your existing Django application.

I've built it for my startup Fashiolista.com and it's currently used in production with thousands of signups per day. For a demo of the signup flow have a look at Fashiolista's landing page (fashiolista.com)

After registration Django Facebook gives you access to user's graph. Allowing for applications such as:

  • Open graph/ Timeline functionality
  • Seamless personalization
  • Inviting friends
  • Finding friends
  • Posting to a users profile

Updates and tutorials can be found on my blog mellowmorning

Features

  • Access the Facebook API, from:
    • Your website (Using javascript OAuth)
    • Facebook canvas pages (For building facebook applications)
    • Mobile (Or any other flow giving you a valid access token)
  • Django User Registration (Convert Facebook user data into a user model)

  • Store likes, friends and user data locally.

  • Facebook FQL access

  • OAuth 2.0 compliant

  • Automated reauthentication (For expired tokens)

  • Includes Open Facebook (stable and tested Python client to the graph API)

Contributing and Running tests

Tests are run from within the example project. You can run them yourself as follows:

install from git

facebook_example/manage.py test django_facebook

Vagrant

A vagrant development setup is included in the GIT repo. Assuming you have vagrant installed, simply type the following in your shell:

# First get a fresh Django-Facebook checkout
git clone git@github.com:tschellenbach/Django-facebook.git django-facebook

# Go to the directory:
cd django-facebook

# Time to start Vagrant (grab a cup of coffee after this command, it'll take a while) :)
vagrant up; vagrant provision

# Finally done?
vagrant ssh
python manage.py runserver 0:8000

To have a working Django Facebook example up and running at 192.168.50.42:8000/facebook/example/. For the facebook login to work simply map that ip to vagrant.mellowmorning.com (Since Facebook checks the domain)

You can run the test suite by typing:

python manage.py test django_facebook

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

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.

Author

Thierry Schellenbach

Pip

django-facebook==6.0.2

Classifiers

  • Topic :: Software Development :: Libraries :: Python Modules
  • Topic :: Scientific/Engineering :: Mathematics
  • Programming Language :: Python :: 3.3
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 2.7
  • Programming Language :: Python
  • Operating System :: OS Independent
  • Natural Language :: English
  • License :: OSI Approved :: GNU General Public License (GPL)
  • Intended Audience :: Developers
  • Framework :: Django
  • Environment :: Web Environment
  • Development Status :: 5 - Production/Stable
File Type Python Version Uploaded On Downloads
django-facebook-6.0.2.tar.gz Source Oct. 16, 2014 906
Version Release Date
6.0.2 Oct. 16, 2014
6.0.1 June 26, 2014
6.0.0 June 19, 2014
5.3.1 Dec. 5, 2013
5.3.0 Dec. 4, 2013
5.2.10 Oct. 30, 2013
5.2.9 Oct. 17, 2013
5.2.8 Oct. 14, 2013
5.2.7 Oct. 14, 2013
5.2.6 June 7, 2013
5.2.5 June 7, 2013
5.2.4 June 7, 2013
5.2.3 June 6, 2013
5.2.2 June 5, 2013
5.2.1 June 3, 2013
5.2.0 May 28, 2013
5.1.10 May 23, 2013
5.1.9 May 23, 2013
5.1.8 May 23, 2013
5.1.7 May 23, 2013
5.1.6 May 23, 2013
5.1.5 May 22, 2013
5.1.2 May 13, 2013
5.1.1 May 10, 2013
5.1.0 May 10, 2013
5.0.13 May 1, 2013
5.0.12 April 5, 2013
5.0.11beta March 26, 2013
5.0.10beta March 19, 2013
5.0.9beta March 19, 2013
5.0.8beta March 19, 2013
5.0.7beta March 15, 2013
5.0.6beta March 15, 2013
5.0.5alpha March 12, 2013
4.3.4 Feb. 12, 2013
4.3.3 Feb. 12, 2013
4.3.1 Feb. 7, 2013
4.3.0 Feb. 7, 2013
4.2.11 Dec. 20, 2012
4.2.10 Dec. 18, 2012
4.2.9 Dec. 18, 2012
4.2.8 Dec. 18, 2012
4.2.7 Dec. 17, 2012
4.2.5 Dec. 13, 2012
4.2.4 Dec. 12, 2012
4.2.3 Dec. 7, 2012
4.2.2 Oct. 23, 2012
4.2.1 Oct. 2, 2012
4.2.0 Oct. 2, 2012
4.1.7 Oct. 1, 2012
4.1.6 Sept. 24, 2012
4.1.5 Sept. 24, 2012
4.1.4 Sept. 20, 2012
4.1.3 Sept. 20, 2012
4.1.2 Sept. 20, 2012
4.1.1 Sept. 13, 2012
4.1.0 Sept. 13, 2012
4.0.11 Sept. 13, 2012
4.0.10 Sept. 10, 2012
4.0.9 June 28, 2012
4.0.8 June 25, 2012
4.0.7 June 14, 2012
4.0.6 June 6, 2012
4.0.5 June 6, 2012
4.0.4 May 30, 2012
4.0.3 May 25, 2012
4.0.2 May 16, 2012
4.0.1 May 14, 2012
3.6.7 April 19, 2012
3.6.6 April 17, 2012
3.6.5 April 12, 2012
3.6.4 April 6, 2012
3.6.3 April 6, 2012
3.6.2 April 6, 2012
3.6.1 April 6, 2012
3.6.0 April 5, 2012
3.5.93 April 3, 2012
3.5.92 April 3, 2012
3.5.9 March 21, 2012
3.5.8 March 16, 2012
3.5.7 March 10, 2012
3.5.6 Feb. 23, 2012
3.5.5 Feb. 23, 2012
3.5.4 Feb. 22, 2012
3.5.3 Feb. 22, 2012
3.5.0 Jan. 2, 2012
3.4.4 Dec. 19, 2011
3.3.0 Dec. 8, 2011
3.2.7 Nov. 1, 2011
3.2.5 Oct. 27, 2011
3.2.4 Oct. 27, 2011
3.2.3 Oct. 27, 2011
3.2.2 Oct. 24, 2011
3.2.1 Oct. 24, 2011
3.2.0 Oct. 24, 2011
3.1.9 Oct. 13, 2011
3.1.8 Oct. 13, 2011
3.1.7 Oct. 13, 2011
3.1.6 Oct. 5, 2011
3.1.5 Oct. 5, 2011
3.1.2 Sept. 16, 2011
3.1.1 Sept. 16, 2011
3.1.0 Sept. 15, 2011
3.0.8 Aug. 26, 2011
3.0.5 Aug. 17, 2011
3.0.4 Aug. 12, 2011
2.3.3 July 23, 2011
2.3.2 June 30, 2011
2.3.1 June 30, 2011
2.3.0 June 28, 2011
2.2.15 June 25, 2011
2.2.14 June 25, 2011
2.2.13 June 25, 2011
2.2.12 June 25, 2011
2.2.10 June 21, 2011
2.2.9 June 21, 2011
2.2.8 June 20, 2011
2.2.7 May 31, 2011
2.2.6 May 31, 2011
2.2.5 May 31, 2011
2.2.4 May 30, 2011
2.2.3 May 27, 2011
2.2.2 May 27, 2011
2.2.1 May 27, 2011
2.2.0 May 27, 2011
2.1.5 April 22, 2011
2.1.3 April 21, 2011
2.1.2 April 21, 2011
2.1.1 April 21, 2011
2.1 April 21, 2011
2.0.18 April 20, 2011
2.0.16 April 12, 2011
2.0.15 April 4, 2011
2.0.14 April 2, 2011
2.0.13 April 1, 2011
2.0.12 April 1, 2011
2.0.11 March 31, 2011
2.0.10 March 31, 2011
2.0.8 March 31, 2011
2.0.7 March 31, 2011
2.0.6 March 31, 2011
2.0.5 March 31, 2011
2.0.4 March 30, 2011
2.0.3 March 30, 2011
2.0.2 March 30, 2011
2.0.1 March 30, 2011
2.0 March 30, 2011
1.0 Sept. 1, 2010
5.0.2prealpha Feb. 20, 2013
5.0.1prealpha Feb. 19, 2013
5.0.0prealpha Feb. 19, 2013
Date Package Version Action
Nov. 4, 2014, 1:12 p.m. django-facebook 2.0.10 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.0.11 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.0.12 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.0.13 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.2.8 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.2.9 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.0.16 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.2.4 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.2.5 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.2.1 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.2.7 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.2.0 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.2.1 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.2.2 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.2.3 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.1.2 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.1.0 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.1.1 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.1.6 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.1.7 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.1.5 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.1.8 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.1.9 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.0.14 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.3.0 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.3.1 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.5.92 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.5.93 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.1.10 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.2.3 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.3.2 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.3.1 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.3.0 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.2.2 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.2.0 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.2.7 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.2.5 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.2.4 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.1.3 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.1.5 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.1.1 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.0.0prealpha Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.0.11 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.0.10 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.2.10 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.2.11 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.1.2 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.0.10beta Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 1.0 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 6.0.0 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 6.0.1 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 6.0.2 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.0.9beta Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.0.2prealpha Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.3.0 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.2.12 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.2.13 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.2.10 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.2.14 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.2.15 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.0.5alpha Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.2.8 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.2.9 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.2.2 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.2.3 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.2.0 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.2.1 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.2.6 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.2.7 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.2.4 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.2.5 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.0.8 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.0.7 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.0.1 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.0.2 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.0.3 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.0.4 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.0.5 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.0.6 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.0.6beta Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.6.7 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.6.6 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.6.5 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.6.4 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.6.3 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.6.2 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.6.1 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.6.0 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.4.4 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.0.4 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.0.8beta Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.0.1prealpha Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.3.3 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.2.10 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.1.3 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.1.2 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.1.1 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.1.0 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.1.7 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.1.6 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.1.5 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.1.4 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.0 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.1 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.0.8 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.0.5 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.0.4 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.3.1 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.3.0 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.3.3 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.3.4 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.5.0 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.5.3 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.5.4 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.5.5 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.5.6 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.5.7 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.5.8 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.5.9 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.2.9 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.2.8 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.2.5 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.2.4 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.2.7 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.2.6 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.2.1 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.2.0 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.2.3 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.2.2 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.0.18 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.0.7beta Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.0.8 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.0.9 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.0.6 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.0.7 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.0.11beta Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.0.5 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.0.2 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.0.3 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 4.0.1 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.0.13 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 5.0.12 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 2.0.15 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.1.8 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.1.9 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.1.5 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.1.6 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.1.7 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.1.0 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.1.1 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook 3.1.2 Release Created
Nov. 4, 2014, 1:12 p.m. django-facebook Package Created