url:
  facebookgraphhandler/facebook:
    pattern: /$YAMLURL/facebook/(.*)
    handler: FacebookGraphHandler
    kwargs:
        # Test app (localhost:9988): https://developers.facebook.com/apps/794214110679951/settings/
        # key: '794214110679951'
        # secret: 'a026887ed94aef25f2f637bf154349df'
        # Production app: https://developers.facebook.com/apps/163328100435225/settings/
        key: '163328100435225'
        secret: 'c71c7e17d5a16ce7662ec75858e9631f'
        redirect:
            query: next
            header: Referer
            url: /$YAMLURL/

  facebookgraphhandler/persist:
    pattern: /$YAMLURL/persist/(.*)
    handler: FacebookGraphHandler
    kwargs:
        # Test app (localhost:9988): https://developers.facebook.com/apps/794214110679951/settings/
        # key: '794214110679951'
        # secret: 'a026887ed94aef25f2f637bf154349df'
        # Production app: https://developers.facebook.com/apps/163328100435225/settings/
        key: '163328100435225'
        secret: 'c71c7e17d5a16ce7662ec75858e9631f'
        access_token: persist
        redirect:
            query: next
            header: Referer
            url: /$YAMLURL/
    cache:
        duration: 300
