rsterbin: Me in a black hat with goggles perched on the brim (Default)
rsterbin ([personal profile] rsterbin) wrote2013-02-20 11:39 am
Entry tags:

Performance tip

Facebook is a beast. Always load asynchronously:


var $fb = $('.fb-block'));
$fb.html(fbCode);
FB.XFBML.parse($fb[0]);


Happily, this works for all of the various incarnations of Facebook code I tried.