Sameer
Sameer

Reputation: 1814

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, 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?

Upvotes: 0

Views: 513

Answers (2)

Jimmy Sawczuk
Jimmy Sawczuk

Reputation: 13614

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.

Upvotes: 1

Sujit Agarwal
Sujit Agarwal

Reputation: 12508

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.

Upvotes: 1

Related Questions