You can use this to set up a Facebook User within you Django app. This of course uses the middleware which is optional as described here.
- Install **PyFacebook** package.
- After make all steps in tutorial above, put this code in your app’s
models.py module (you maybe prefer split it and put the middleware
class in some other file).
- Put the FacebookUserMiddleware python-path in the
MIDDLEWARE_CLASSES in your settings.py (after