-
Notifications
You must be signed in to change notification settings - Fork 0
Home
= Intro =
So the idea here is to save folks some time by sharing some work that I’m doing right now. More specifically, I’m trying to move a Facebook application, written using Pylons and pyfacebook, over to the new Facebook Graph API. I hope that the end-product will be a set of “drop-in” classes for Pylons that people can use to get a Facebook application up and running really quickly. Help me out.
= Instructions =
Currently, you’ll need to do a fair amount of hackery to use this library. We assume that you’ve created a new Pylons project using Paster:
paster create -t pylons MyFacebookProject
So now
cd MyFacebookProject/myfacebookproject/lib
git clone git://github.com/brianthelion/fb-pylons.git
cd fb-pylons && sh setup.sh
= Usage =
There are a couple of points at which code must be inserted into the Pylons project. These are:
- MyFacebookProject/myfacebookproject/development.ini
- MyFacebookProject/myfacebookproject/config/routing.py
- MyFacebookProject/myfacebookproject/config/middleware.py
- MyFacebookProject/myfacebookproject/controllers/Main.py