Facebook Canvas 应用程序将 Flash 变量保存到 Db
我为 Facebook 制作了一个 Flash 游戏。当我在数据库中保存分数时,一切都发生了。我已将变量从 flash 发送到 php ,我认为这不起作用:
//这是我从 flash 发送变量的方式
loadVariablesNum("highscore.php?uid="+iduser+"&usc="+score, 0) ;
我已经在我的本地主机上检查过它工作正常。但是当我在 Facebook 上上传相同内容时,它不起作用。
我使用过 Php SDK 3,没有使用过 fbml。
带有对象和嵌入标签的嵌入式 Flash
I have made a flash game for facebook. All happened right expect when I am saving score in my Db. I had sended vars from flash to php , which I think is not working:
//Here is how i am sending vars from flash
loadVariablesNum("highscore.php?uid="+iduser+"&usc="+score, 0);
I had check it on my localhost its working perfectly. But when I upload same on facebook it doesnot work out.
I had used Php SDK 3 and havenot used fbml.
embeded flash with Object and Embed tags
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试使用 php 文件的完整路径而不是相对路径。另外,尝试将
&
替换为%26
Try using the full path to the php file rather than a relative path. Also, try replacing
&
with%26