javascript - Like Button social plug in code not working for browser..! -


hi trying run same code on jsfiddle.net , working abs fine. when run code under body tag in browser shows no result , error in chrome console:

in end want same html file in webview on android can page.! failed load resource file://connect.facebook.net/en_us/all.js#xfbml=1&appid=415120148602947 think javascript not running. code goes this:

 <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/en_us/all.js#xfbml=1&appid=415120148602947";  fjs.parentnode.insertbefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div class="fb-like" data-href="http://developers.facebook.com/docs/reference/plugins/like" data-send="false" data-width="450" data-show-faces="true"></div> 


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -