Fb:photo not rendering anything
- by marcgg
I'm trying to display a photo on my facebook connected website. From Facebook's documentation you just need to use valid XFBML and a fb:photo tag as such:
<div id="myPhoto">
<fb:photo pid="12345"></fb:photo>
</div>
My problem is that doesn't render anything when I call:
FB.XFBML.Host.parseDomElement(document.getElementById("myPhoto"));
If I call the same XFBML on a regular facebook page, it displays without problem, the bug is only on a separated website using facebook connect. Also, I don't get any JS errors.
Any help would be appreciated