Skip to main content
https://secure.travis-ci.org/tschellenbach/Django-facebook.png?branch=master https://pypip.in/d/django-facebook/badge.png

Status

Django and Facebook are both rapidly changing at the moment. Meanwhile, I’m caught up in a startup and don’t have much spare time. The library needs a good round of testing against the latest python, django and facebook graph API. Contributions are strongly appreciated. Seriously, give github a try, fork and get started :)

News

  • django-facebook will be dropping support for django < 1.8 since django only supports versions 1.8 and above.

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.

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)

Documentation

Basics

Open Facebook API

Advanced

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

Release files for wish-facebook 6.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wish-facebook 6.0.6
File Size Uploaded
wish-facebook-6.0.6.tar.gz 90.4 kB Details

Release files / wish-facebook-6.0.6.tar.gz

Download URL wish-facebook-6.0.6.tar.gz
Size 90.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8b560bfbc42fdb2f437f02948812e0c0d8d59c61b78b9b86816adca1c9ee9f4f
BLAKE2b-256 checksum
How to use checksums
15b855bf544dd2c16fc111c2d9e17445d4cf13e7efb11df1444682f0beec8c2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

6.0.6 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page