the god damn FB.XFBML.parse stop working...
found a work around:
if you are using fbml, eg:
[div id="mylike" class="fb-like" data-href="http://www.facebook.com/example"][/div];
#reload all fb like iframe:
function reloadFB() {
FB.XFBML.parse();
var boxes = jQuery(".fb-like iframe");
for(var c=0; c < boxes.length; c++) {
var box = boxes[c];
box.src= box.src;
}
}
No comments:
Post a Comment