Rack::Facebook::MethodFix
Added by tuupola
at November 06, 2011 22:06
GitHub stats:
watcher(s)
fork(s)
About
In early 2011 Facebook started to send all application requests as POST. This middleware converts POST requests back to GET when applicable.
Details
Rack::Facebook::MethodFix looks for incoming POST requests. If the request contains signed_request parameter it converts request to GET as originally intended. Optionally if you pass in Facebook application secret_id it will also require the contents of signed_request to be valid.
Usage
Check usage from project page.
