You can really want a pyfacebook as another answer, although the url I give (on github.com) is where the project (especially its source ;-) actually lives.
A simple overview of the Python Python APIs for facebook is here , and also points to a possibly simpler but less complete API if you want to run in the Google App Engine, i.e. simplefacebook . pyfacebook does not pyfacebook limit you to App Engine, although it can support it, of course.
The pyfacebook tutorial is here - it even briefly shows how to use it from the interactive interpreter (!), Although the main part of the course, the tutorial is devoted to web applications.
Alex martelli
source share