javascript - FB JS SDK can't be fully loaded in browser -


i have problem facebook js sdk, use facebook fancy "gadgets". while of scripts loaded, fb api not loaded @ (nor after long, long time). enter image description here

i'm using piece of code loading:

<div id="fb-root"></div> <script>      (function (d, s, id) {                     var js, fjs = d.getelementsbytagname(s)[0];                     if (d.getelementbyid(id))                         return;                     js = d.createelement(s);                     js.id = id;                     js.src = "//connect.facebook.net/pl_pl/sdk.js#xfbml=1&version=v2.3";                     fjs.parentnode.insertbefore(js, fjs);                 }(document, 'script', 'facebook-jssdk')); </script> 

i looked google looks nobody experienced similar problem.

looking @ facebook's docs on loading sdk, see 1 key difference between facebook documents , how doing this, appending #xfbml=1&version=v2.3 js.src.

please try load sdk facebook documents first, in order make sure not failing due modifications made code.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -