Sencha application in a Facebook iFrame gets a "Cannot POST /"
I have a Sencha Touch application using Node.js and Socket.io running on Amazon EC2 (micro instance). I want to make it available on Facebook, in a Facebook Canvas, aka an HTML iFrame.
I get a blank page with Cannot POST /
The iframe is here (when I do "Open frame in new window" it opens the app). I have no idea what to do here… why do I get a POST /
?
I use the Facebook Javascript SDK in the app, but commenting the code doesn't resolve t开发者_运维问答he issue.
It looks like POST for Canvas may be causing your issues.
We solved a similar problem recently by changing this line:
app.get('/home', function(request, response) {
to this
app.all('/home', function(request, response) {
精彩评论