After loading the page, I make an AJAX request to pull out a piece of HTML containing tags representing a Facebook user profile picture. I add the result to a point in the DOM, but the logos do not load, instead I only see the default silhouette.
Here's just how I load a piece of HTML using jQuery
$.ajax({ url: "/facebookprofiles" success: function(result) { $('#profiles').append(result); } });
The HTML I am adding is a list of differences like this:
<div class="status Accepted"> <fb:profile-pic class="image" facebook-logo="true" linked="true" size="square" uid="1796055648"></fb:profile-pic> <p> <strong>Corona Kingsly</strong>My Status Update<br/> <span style="font-size: 0.8em">52 minutes ago</span> </p> </div>
Any ideas? I assume that fb tags are not processed after loading dom. Is there any way to do this? I do not see any exceptions or errors in the Firebug console.
thanks
jquery facebook fbml
mbrevoort
source share