Question:

I have followed Facebook sample code on FBML. However, some of my FBML tags cannot be rendered properly. Why?

 

 

 

Sharing:

Appreciate if you can like this page if you find it useful! - Click "Like"

I have encountered similar problem before. In fact, I have a case where there are FBML code that runs perfectly by some people and still for a particular developer, when he used the same piece of FBML code, the rendering was strange and did not work properly.

Workaround at that time is to use closing tags for FBML (though even in FB's sample, they are not using closing tags too. See FB's sample here.).

For example (php code), instead of writing,

<fb:name uid=\"$friend[id]\" />

use the following style of code:

<fb:name uid=\"$friend[id]\"></fb:name>

 

 

Find my FAQ on Facebook Development useful? Download the PDF for all the FAQs HERE!