Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6170377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:01:33+00:00 2026-05-23T23:01:33+00:00

we are looking to build a facebook application. Our plan is to build it

  • 0

we are looking to build a facebook application. Our plan is to build it on an HTML 5 site, but from what I have heard, if we are to use XFBML instead of iframe on HTML 5, it would not be compatible (since XFBML is pretty much an xml namespace) and there is a slight problem in firefox..There’s a cross-browser trick I have seen out there, but it wont validate:

<!doctype html>
<html xmlns:fb="http://www.facebook.com/2008/fbml">

One way to validate it is to serve it as “application/xhtml+xml” but this of course wont work in IE..

This is my first time building an fb app, and I am hoping to get any suggestion/input from other developers who have had experience developing fb app using the most recent technology such as HTML5..My other question is of course, which one would generally be preferred, XFBML or iframe?

As always, I’d appreciate any help/explanation that would clear out my confusion. Let me know if the question is not clear enough. Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:01:34+00:00Added an answer on May 23, 2026 at 11:01 pm

    I’m not too sure about the doctype, <!doctype html> is probably fine. If some one knows better please comment. Browsers are pretty flexible these days, I don’t think you actually have to worry too much. When you say “Won’t validate” do you mean it wont validate in the W3C Validator? If that is what you are referring too don’t worry about it. Nobody cares, it makes no difference other than bragging rites (but again, nobody cares) Its far more important that it just works.

    XFBML has been depreciated now, so I would suggest you go the iframe route. I’ve done a few Facebook apps, some in XFBML and some in iframes, and have found the iframe approach to be a far less frustrating experience. XFBML has all kinds of restrictions and limitations in terms of what you can and can not do, which API’s they support, etc. Also Facebook does some serious caching on externally loaded files like JS and CSS which makes development a little bit of a living hell. You can literally be (or it was like this at one point anyways) in a situation where you have to rename your files just to test changes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im looking to build a thread manager for an application. I have already started
I'm looking to build a query that will use the non-clustered indexing plan on
I'm looking to build a basic Facebook application with Rails. What are the resources
I'm looking to build a lob application, which will have to run on Windows
I'm looking to build a downloader application that downloads files from file-hosting services. What
We looking to build an application to maintain meeting minutes and similar stuff using
I am looking to build a contacts list style application that saves contact information
I looking to build a news archive in python/django, I have no idea where
I am a freelance developer looking to build a new social networking site, and
I am looking to build software that has an Iphone application as well as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.