集成 Facebook Credits 会导致“您正在使用的应用程序没有响应”。

发布于 2024-12-01 20:47:28 字数 588 浏览 3 评论 0原文

我一直在尝试将 Facebook Credit 购买集成到我的应用程序中,但任何对支付对话框的调用都会导致错误消息“您正在使用的应用程序没有响应”。为了消除任何应用程序特定的问题,我下载了 Credits API 示例,并且只是尝试让它工作 - 它会导致相同的错误消息。

我已经尝试了几天来查明此错误消息,但没有成功。以下是我目前所知的信息:

  • 点击“通过 Facebook 付款”按钮会导致错误代码 1383008,但没有显示 error_message

  • 我在 Windows 7 上运行 Apache 2.2。据我所知,Apache 配置为允许来自任何来源的请求。

  • 画布页面配置为指向http://localhost:8080/facebook.../,而回调页面配置为指向http://localhost:8080 /facebook.../callback.php。但是,我已经验证回调页面没有被访问。

我不确定如何验证 Facebook 是否正确接收了我的数据或者是否传回了任何内容。任何在这方面的帮助也将不胜感激!

I've been trying to integrate Facebook Credit purchases into my app, but any call to the pay dialog results in the error message "The application you are using is not responding." To eliminate any application specific problems, I've downloaded the Credits API Example and am just trying to get that to work -- it results in the same error message.

I've been trying for a couple of days to pinpoint this error message, but with no luck. Here's what I know so far:

  • Clicking the "Pay with Facebook" button results in error code 1383008, but there's no error_message being displayed.

  • I'm running Apache 2.2 on Windows 7. As far as I can tell, Apache is configured to allow requests from any source.

  • The canvas page is configured to point at http://localhost:8080/facebook.../ while the callback page is configured to point at http://localhost:8080/facebook.../callback.php. However, I have verified that the callback page is not being accessed.

I'm not sure how to verify whether or not Facebook is receiving my data correctly or if it's passing anything back. Any help in this regard would also be appreciated!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

霞映澄塘 2024-12-08 20:47:28

Credits 尝试回调可访问的 Web URL(或 IP)。如果 Facebook 的蜘蛛无法从回调脚本中获取信息,那么它将继续返回错误,因为 Facebook 希望您发送费用、名称、图像、自定义参数等信息来处理付款。

查看文档的创建回调部分:
http://developers.facebook.com/docs/creditsapi/

Credits attempts to make a callback to a web accessible url (or IP). If Facebook's spider cannot fetch the information from the callback script, then it will continue to return errors, since Facebook expects you to send information like the cost, name, image, custom parameters in order to process the payment.

Have a look at the creating a callback section of the docs:
http://developers.facebook.com/docs/creditsapi/

谁许谁一生繁华 2024-12-08 20:47:28

添加到 Fancis 的答案中,您可以做的是在防火墙中设置一个漏洞并将其连接到动态 dns 服务,例如 http:// /dyn.com/。然后您就可以测试您的积分代码。

Adding to Fancis' answer, what you can do is setup a hole in your firewall and connect it to a dynamic dns service such as http://dyn.com/. Then you will be able to test your credits code.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文