开发者

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) {
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜