Fb:photo not rendering anything
Posted
by marcgg
on Stack Overflow
See other posts from Stack Overflow
or by marcgg
Published on 2010-04-19T15:00:24Z
Indexed on
2010/04/19
15:03 UTC
Read the original article
Hit count: 592
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
© Stack Overflow or respective owner