Python for Facebook

A home for Python developers working with Facebook

We maintain two repositories on github.
  • facebook-sdk, a set of essential tools for working with Facebook in Python.
  • django-facebook, an extensible django plugin for building facebook integrated sites.

Facebook SDK

Available here on GitHub:
http://github.com/pythonforfacebook/facebook-sdk
Also available on PyPi:
http://pypi.python.org/pypi/facebook-sdk

The SDK can be installed with either:
pip install facebook-sdk
pip install -e git+git://github.com/pythonforfacebook/facebook-sdk.git#egg=facebook-sdk

Facebook for Django

There is an ongoing effort to merge the two major community efforts into a single concise package:
http://github.com/pythonforfacebook/django-facebook

The two community efforts can be found at:
http://github.com/aidanlister/django-facebook (simple)
http://github.com/tschellenbach/Django-facebook (more full featured)

The SDK can be installed through PyPi with the following:
pip install -e git+git://github.com/pythonforfacebook/django-facebook.git#egg=django-facebook

Alternatives

Johannes has done some excellent work on FacePy and FanDanjgo:
http://github.com/jgorset/fandjango
http://github.com/jgorset/facepy