Fb:fbmlversion

From Facebook Developers Wiki

Jump to: navigation, search

Contents

[edit] Description

Prints the version of FBML currently in scope. You should use this tag only for debugging purposes.


[edit] Attributes

RequiredNameTypeDescription
optional version float The version of FBML with which to render the content. (default value is [the current version])


[edit] Examples

<fb:fbml version="1.0"> The tags that follow rely completely on FBML in version 1.0. This is being rendered in version: <fb:fbmlversion /> </fb:fbml>


<fb:fbml version="1.2"> The tags here rely on FBML 1.2. This is being rendered in version: <fb:fbmlversion /> </fb:fbml>
picture2nc4.png


[edit] Notes

As you can in the above code example, the second code snippet does not work because there is no version 1.2 of FBML at this time.


[edit] See Also