Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 529 Bytes

canvas.rst

File metadata and controls

11 lines (7 loc) · 529 Bytes

Canvas Application

In order to use build a facebook canvas application, you should add this to your MIDDLEWARE_CLASSES setting:

'django_facebook.middleware.FacebookCanvasMiddleWare'
This middleware will check for the signed_request parameter in the url and take the appropriate action:
  • redirect to app authorization dialog if user has not authorized the app, some permission is missing or any other error.
  • login the current facebook user in django's system and store the access token.