skip to navigation
skip to content

pyramid_facebook 0.2.235

Pyramid routes and helpers for Facebook canvas applications

Latest Version: 2.0.2

Provides simple pyramid routes/views for facebook canvas application.

Some documentation on


  1. Create facebook application on

  2. Add facebook settings in .ini file under application section and fill with facebook application parameters:

    facebook.app_id =
    facebook.secret_key =
    facebook.namespace =
    facebook.scope =
  3. In the app settings on, set callbak url to point to[facebook app namespace]/
  4. Include pyramid_facebook in your config:

  5. Define your facebook canvas view:

    from pyramid_facebook.canvas import facebook_canvas
    def canvas(context, request):
       # canvas is available only to users who accepted facebook permission
       # defined in setting['facebook.scope'].
       # context.facebook_data dict contains signed_request content.
       # i.e.:
       # user_id = context.facebook["user_id"]
       return Response('Hello Facebok World')
  6. Browse to your app on[app namespace]
File Type Py Version Uploaded on Size
pyramid_facebook-0.2.235.tar.gz (md5) Source 2013-07-05 22KB
  • Downloads (All Versions):
  • 116 downloads in the last day
  • 1082 downloads in the last week
  • 4211 downloads in the last month