Chrome没有获得signed_request发布数据 [英] Chrome not getting the signed_request post data

查看:133
本文介绍了Chrome没有获得signed_request发布数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Facebook页面上加载了iFrame中的画布应用程序。对于所有浏览器,但Chrome(尚未个人测试IE),$ code> signed_request 变量通过POST发送。由于某些原因,Chrome不会提交此数据。我查看了网络检查员,实际上Chrome会根据请求注册POST数据,但是当打印 $ _ REQUEST 的内容没有什么。没有任何POST数据被发送。

I have a canvas app loading in an iFrame on a Facebook Page. For all browsers but Chrome (haven't personally tested IE yet) the signed_request variable is sent via POST. For some reason Chrome does not submit this data. I looked at the network inspector and indeed Chrome registers the POST data with the request, but when printing the contents of $_REQUEST there's nothing. No POST data being sent at all.

Safari和Firefox工作正常。任何建议?

Safari and Firefox work fine. Any suggestions?

编辑:我注意到Chrome在通过https访问Facebook页面时做的正确。问题只发生在http。这是奇怪的,因为我在应用程序设置中设置了有效的http和https网址,加上该页面在其他浏览器中工作正常。

I noticed that Chrome does do the right thing when accessing the Facebook page via https. The problem only occurs with http. This is bizarre because I have both valid http and https URLs set in the app settings, plus the page works fine across other browsers.

推荐答案

p> chrome在跨域和协议规则上是严格的。尝试在安全模式下运行chrome以测试问题是否实际上与http - > https重定向

chrome is bit strict at cross domain and protocol rules. try running chrome in safe mode to test if the problem is actually related to http -> https redirection

这篇关于Chrome没有获得signed_request发布数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆