As you may know, in order to pass user’s informations(signed_request)
to your app, Facebook access canvas(ie: iframe) applications by
sending them a POST request. This mechanism is explained here.
In order to keep ReSTful, what would be the right place in Symfony (which service,
file…) to implement this Ruby on Rails’ trick Pierre Olivier Martel
descibes here: http://blog.coderubik.com/2011/03/restful-facebook-canvas-app-with-ra…
, eg: convert every POST requests containing a ‘signed_request’
parameter to a GET one?
Inspired from Stuck’s answer(thanks!) and from Symfony Cookbook:
Service Definition: