<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head></head>
<body>
//Renders the FBML on a Facebook server inside an iframe
<fb:serverfbml>
<script type="text/fbml">
<fb:fbml>
<fb:tabs>
<fb:tab-item href='http://apps.facebook.com/xx/index.php' title='Home' selected='true'/>
<fb:tab-item href='http://apps.facebook.com/xx/invite.php' title='Invite' />
<fb:tab-item href='http://apps.facebook.com/xx/pay.php' title='Pay' />
</fb:tabs>
</fb:fbml>
</script>
</fb:serverfbml>
//ini
<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
<script type="text/javascript">
FB.init("<?php echo FB_API_KEY ?>","xd_receiver.html");
</script>
</body>
</html>
Iframe应用使用FBML或者FBML
最新推荐文章于 2025-11-23 15:36:17 发布
本文档提供了一个使用FBML(Facebook标记语言)构建的Facebook应用布局示例,包括了首页、邀请好友及付费选项的导航栏设置。通过FBML可以实现服务器端渲染,在Facebook服务器上直接显示定制化的应用程序页面。
2975

被折叠的 条评论
为什么被折叠?



