Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install pyramid-facebook

How to install pyramid_facebook

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install pyramid-facebook
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1.1
0.5.353Never BuiltWhy not?
0.1.1 Available View build log
Windows (64-bit)
0.1.1
0.5.353Never BuiltWhy not?
0.1.1 Available View build log
Mac OS X (10.5+)
0.1.1
0.5.353Never BuiltWhy not?
0.1.1 Available View build log
Linux (32-bit)
0.1.127
0.5.353Never BuiltWhy not?
0.1.127 Available View build log
0.1.123 Available View build log
0.1.116 Available View build log
0.1.57 Available View build log
0.1.37 Available View build log
0.1.1 Available View build log
Linux (64-bit)
0.1.127
0.5.353 Failed View build log
0.1.127 Available View build log
0.1.123 Available View build log
0.1.116 Available View build log
0.1.57 Available View build log
0.1.37 Available View build log
0.1.1 Available View build log
 
Author
Lastest release
version 0.5.353 on Jan 9th, 2014

Provides simple pyramid routes/views for facebook canvas application.

Some documentation on https://pyramid_facebook.readthedocs.org/en/latest/

Configuration

  1. Create facebook application on https://developers.facebook.com/apps

  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 https://developers.facebook.com/apps, set callbak url to point to

    http://127.0.0.1:6543/[facebook app namespace]/
    
  4. Include pyramid_facebook in your config:

    config.include('pyramid_facebook')
    config.scan()
    
  5. Define your facebook canvas view:

    from pyramid_facebook.canvas import facebook_canvas
    
    @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

    http://apps.facebook.com/[app namespace]
    
Development
0.5.324
  • Add a GraphAPI utility lazily instantiated with the application token.

  • Add an attribute object to ``ChangeNotification``event.

    System Message: WARNING/2 (<string>, line 55); backlink

    Inline literal start-string without end-string.

  • OrderReceived being notified when receiving a real-time payment update

  • Add :module:`~pyramid_facebook.tests.integration.test_payments` used in :module:~pyramid_facebook.tests.functional.test_payments

    System Message: ERROR/3 (<string>, line 57); backlink

    Unknown interpreted text role "module".

Breaking Changes
  • Rename OrderCreated for :class:`~pyramid_facebook.events.OrderReceived

    System Message: WARNING/2 (<string>, line 64); backlink

    Inline interpreted text or phrase reference start-string without end-string.

    • Can be sent multiple times for the same order with same or different status
  • Rename OrderCreationError for :class:`~pyramid_facebook.events.OrderProcessingError`

    System Message: ERROR/3 (<string>, line 68); backlink

    Unknown interpreted text role "class".

0.4.317
  • Added pfacebook-real-time command to update real time subscriptions.
  • Breaking changes: namespace is now added by the framework in opengraph URLs.
0.2.246
  • Reusable view and template for OpenGraph objects.
  • Support for Facebook local currency payments.

This release is backward-compatible for apps that use the app currency and Facebook credits decorators. A future version will remove support for credits (Facebook will remove them) and app currencies (which can now use the generic OpenGraph view).

0.2.235
  • Packaging fix-ups.
0.2.220
  • Fix bug where permissions defined in facebook.scope setting were ignored by prompt_authorize.
0.2.217
  • Add view to redirect from GET canvas to the Facebook application page.
0.2.207
  • Move predicates from lib to predicates.
  • Add PermissionEventPredicate for filtering event subscriber with permission.
0.2.2
  • Include pyramid_contextauth for dealing with context-based authentication.
0.1.194
  • Added CanceledOrder when any payment update fail during event notification.
  • add includeme for any sub module to uniform configuration
  • facebook auth policy does not rely anymore on context for authentication.
  • add an CanvasRequested event triggered when a identified user request canvas.
0.1.127
  • In credits: Check item title not being an empty string to avoid FB failing with no explicit message. "Fail early."
  • Fixed bug which raised configuration conflict because pyramid_facebook was not commiting config via config.commit.
0.0
  • Initial version

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.