Height issue with Facebook Embed Post -
i using fb post embed. on initial load posts shown up. if add new post , call ajax postback, after postback posts not shown.i checked documentation mentioned call fb.xfbml.parse() method, called still didn't work. while looking the code saw height , width of span fb returns , iframe inside span set 0 , overflow hidden. fb:post code shown here:
i able resolve issue. issue have kept inside container div tag using $("#container").prepend("");. container div tag getting emptied , refilled using $("#container").empty();, that's why height width getting 0. updated code keep fb-root outside of container using $("#container").parent().prepend("");
Comments
Post a Comment