Iframe 与 FBML - 为什么要转移?

发布于 2024-11-18 00:10:53 字数 232 浏览 2 评论 0原文

我有很多 Facebook 粉丝专页,并且多次被告知要改用 iFrame。 Facebook 开发实际上并不是我的主要工作,所以我没有及时了解 FBML 为我工作的变化。

我最近问了一个关于旋转图像的问题,看来 iFrames 能够处理这个问题。

您能告诉我 iFrame 有哪些优点吗?

是否有没有第三方品牌的 iFrame 服务(即页面底部的 WildFire 徽标)

感谢您的帮助

I have lots of Facebook Fanpages, and I have been told on many occasions to change to iFrames. Facebook developing isn't really my main thing so I havent kept upto date with the change as FBML worked for me.

I have asked a recent question about rotating images and it seems that iFrames will be able to handle this.

Can you tell me what are the good things about iFrames?

Is there an iFrame service without thirdpart branding (i.e WildFire logo at the bottom of page)

Thanks for your help

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

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

发布评论

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

评论(1

醉酒的小男人 2024-11-25 00:10:53

您应该尽快从 fbml 粉丝页面切换到 iframe 粉丝页面,因为 FBML 页面已被弃用(您无法创建新的 fbml 页面),并且 Facebook 很可能会开始取消对现有页面的 FBML 页面支持,几乎没有什么帮助。没有注意到。

最大的好处是几乎所有 JavaScript 代码都会立即运行,而无需用户首先单击某个位置。页面布局更加清晰。而且您不必学习 fbml 标签。你只需像平常一样制作一个网页,它应该运行得很好,只要你了解 iframe 代码由于跨域限制而被沙箱化,所以你不能尝试修改其父页面(Facebook 页面)

我不知道我不知道有任何 iFrame 服务,但 iFrame 页面非常简单 - 您只需在服务器上的任何位置托管一个纯 html 文件或网页,然后告诉 Facebook 它的 url。但请注意,它托管的网站应该为那些在其 Facebook 帐户上启用了 HTTPS 的情况下访问您的页面的用户提供 SSL 证书。

You should be switching as soon as possible from fbml fan pages to iframe fan page because the FBML pages have been deprecated (you can't create new fbml pages) and it is likely Facebook will start killing FBML page support for existing pages, with little to no notice.

The biggest benefits are almost all javascript code will run now and without making a user first click somewhere. Laying out pages is a lot cleaner. And you don't have to learn the fbml tags. You just make a web page like you normally would and it should run just fine, as long as you understand that iframe code is sandboxed due to cross domain limitations so you can't try to modify its parent (the Facebook page)

I don't know of any iFrame services, but iFrame pages are so simple - you just host a plain html file or webpage somewhere on a server anywhere and tell Facebook the url for it. Do note though that the site it is hosted on should have an SSL certificate for users that visit your page with HTTPS enabled on their Facebook account.

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