开发者

How can I replace this FBML code with iframe-ready code?

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, h开发者_开发百科ow 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?


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜