User:Python

From Facebook Developer Wiki

Revision as of 05:04, 28 October 2009 by Peter Shinners (Talk | contribs)
Jump to: navigation, search

Contents

API implementations

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.

Development

Mailing list

Source

* git clone git://github.com/sciyoshi/pyfacebook.git
* svn checkout http://pyfacebook.googlecode.com/svn/trunk/ pyfacebook

Tutorials

  • Pylons and Facebook hello world. A simple example that decodes and prints out all the request information sent back in the callback when a user visits the applications canvas. Also explains the basic flow of facebook callbacks.
  • Pylons and Pyfacebook Tutorial. Basic tutorial for Pylons framework, using a decorator (Source Code Included).
  • View the complete PyFacebook tutorial for more information and examples.

Applications

MiniFB

minifb is a minimal Facebook API for Python.

Version 1.2 was released in October, 2009. This version adds initial support for Python3, and fixes some long standing issues.

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.

Development

Mailing list

Source

* svn checkout http://minifb.googlecode.com/svn/trunk/ minifb

Tutorials

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

Applications

Frameworks

Django

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

web2py

You can use the web2py framework to develop facebook apps. Here is a scaffolding example.

reference