适用于复杂应用的 FBJS

发布于 2024-10-12 01:47:51 字数 317 浏览 5 评论 0原文

我开始使用 FBJS 来构建一些复杂的应用程序,这些应用程序必须位于粉丝页面上的选项卡内。由于我使用 iframe 的第一个选择是在 Facebook 引入该功能之前才出现的,所以我不得不求助于使用经过净化的 FBJS。

我想知道是否有人使用 FBJS 做过非常复杂的应用程序?除了 DOM 操作之外,它与通常的 JS 相比如何?

我查看了开发人员页面上的在线文档,但那里的所有示例似乎都非常基本。例如,我需要访问 ActiveXControls/插件,动态生成 iframe,然后将内容附加到 iframe 中,等等。有人认为这在 FBJS 中可行吗?

I started looking at FBJS to build some complex application that has to be within a tab on a fan page. Since my first option of using iframes are out till Facebook puts that functionality in, I have to resort to using the sanitized FBJS.

I was wondering if anyone has done really complicated apps using FBJS? Besides DOM manipulations, how does it stack up against the usual JS?

I looked at the documentation online on the developers page, but all the samples there seem pretty basic. For example, I would need to access ActiveXControls/plugins, generate iframe on the fly and then append content into the iframe, etc. Does anyone think this would be doable in FBJS?

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

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

发布评论

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

评论(1

梦亿 2024-10-19 01:47:52

如果您需要访问自定义 ActiveXControls,您将无法在 FBJS 中执行此操作。 FBJS 隐藏了全局变量,因此您无法访问它们。我非常确定 Facebook 允许在粉丝页面的选项卡中使用 iframe 应用程序。您如何添加内容?

If you need to access custom ActiveXControls you won't be able to do it in FBJS. FBJS obscures global variables so you can't access them. I'm pretty sure that Facebook allows iframe applications in tabs on fan pages though. How are you adding the content?

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