如何用 iframe 就绪代码替换此 FBML 代码?
我开始开发一个旧的 Facebook 应用程序,它是一个画布 Facebook 应用程序并使用 FBML。 现在 FBML 的标签似乎都不起作用了,所以我只是想知道,它是否被 facebook 完全删除了?
如果是,我将如何在 for: Javascript SDK 中是否有任何方法编写代码
<fb:dashboard>
<fb:action href="http://apps.facebook.com/ilovebolly/index.php">Home</fb:action>
<fb:action href="http://apps.facebook.com/ilovebolly/movie.php">Movies</fb:action>
<fb:action href="http://apps.facebook.com/ilovebolly/celebrity.php">Celebrities</fb:action>
<fb:action href="http://apps.facebook.com/ilovebolly/news.php">News</fb:action>
<fb:action href="http://apps.facebook.com/ilovebolly/invite.php">Invite Friends</fb:action>
<fb:help href="http://apps.facebook.com/ilovebolly/help.php">Help</fb:help>
</fb:dashboard>
,或者我必须为此编写纯 HTML、CSS?
I get to work on an old Facebook App, which is a canvas facebook application and uses FBML.
Now none of the tags of FBML seems to be working, so i just want to know, is it completely removed by facebook?
If yes, how would i write the code in the for:
<fb:dashboard>
<fb:action href="http://apps.facebook.com/ilovebolly/index.php">Home</fb:action>
<fb:action href="http://apps.facebook.com/ilovebolly/movie.php">Movies</fb:action>
<fb:action href="http://apps.facebook.com/ilovebolly/celebrity.php">Celebrities</fb:action>
<fb:action href="http://apps.facebook.com/ilovebolly/news.php">News</fb:action>
<fb:action href="http://apps.facebook.com/ilovebolly/invite.php">Invite Friends</fb:action>
<fb:help href="http://apps.facebook.com/ilovebolly/help.php">Help</fb:help>
</fb:dashboard>
Is there any method in the Javascript SDK or will I have to write pure HTML, CSS for this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据路线图,您无法再创建新的 FBML 应用。但是,如果它是旧应用程序,您暂时应该可以使用 FBML。根据 FBML 参考,各个标签也没有被弃用。如果您愿意的话,为 iframe 实现此功能将涉及纯 HTML/CSS 和 Javascript - 没有 JS SDK 方法。
According to the roadmap, you can no longer create new FBML apps. However, if it's an old app you should be able to use FBML for the timebeing. According to the FBML reference, the individual tags aren't deprecated either. Implementing this for an iframe would involve pure HTML/CSS and Javascript if you want - there's no JS SDK method for it.
是的,它是 2011 年 Facebook 路线图的一部分。您可以查看一些使用 facebook php graph api 开发应用程序的教程。 检查此链接。
Yes its a part of the Facebook Roadmap for 2011. you can check some tutorials for developing applications with the facebook php graph api. Check this link.