Run with Friends is a sample Facebook Canvas Application written in Python running on Google App Engine. The application is designed to run within an iframe on a Facebook Canvas page.
Facebook provides a large array of integration points for applications and this sample application makes use of only a few of those capabilities. Some of the things that are covered here are:
* Making use of a Social Plugin, notably the Login with Faces plugin.
* Showing Facebook Dialogs to allow the user to post content back to Facebook.
* Making Graph API calls using OAuth 2.0.
* Making use of Real-time Updates in order to keep the cached data up-to-date.
You can try the sample at https://apps.facebook.com/runwithfriends/