Python

From Facebook Developers Wiki

Jump to: navigation, search

Contents

[edit] PyFacebook

PyFacebook is a wrapper for the Facebook API.

Since there hasn't been a stable release yet, (Hopefully soon) you need to get the source from Subversion on Google Code. Only one file is required, which you can download here (rename it to facebook.py). As of r70, Django and Pylons support have been pulled into separate modules. You will need to download the whole package and set it up somewhere on your path. See here for more information.

To checkout all the code, including samples, type:

svn checkout http://pyfacebook.googlecode.com/svn/trunk/ pyfacebook

or use your favorite SVN client.

Mailing list: http://groups.google.com/group/pyfacebook

[edit] Tutorial

View the complete PyFacebook tutorial for more information and examples.

[edit] minifb

minifb is a minimal Facebook API for Python. Latest version 1.1 released on September 21, 2007.

This single-file module consists of two functions and two helper classes. All the grunt work of sending and validating web values are done in single function calls. A few simple examples show nearly everything needed for a full Facebook application. See the discussion group for questions and reports.

[edit] Applications

[edit] Tutorial

  • app_2_6951070691_4107.gif Hello MiniFB.py. Complete "Hello World" Facebook App built with minifb.py with tutorial + complete source code.