Facebook comments plugin not showing up in WordPress -


i created facebook app id directed on @ https://developers.facebook.com. used id generate comments social plugin code blog looks 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/sdk.js#xfbml=1&version=v2.7&appid=1789276651307619";     fjs.parentnode.insertbefore(js, fjs);     }(document, 'script', 'facebook-jssdk')); </script>  <div class="fb-comments" data-href="<?php the_permalink(); ?>" data-width="600" data-numposts="5"></div> 

the modification made generated code little php generates post's url dynamically (<?php the_permalink(); ?>) in last line. added exact snippet in theme's single.php file.

however, when page loads, see fb comments plugin should big blank space. sure, tried opening page in different browser , had similar results. tried doing through plugins no avail. it's worth, plugins tried ones alex moss , kevin partner. blog in question @ peppyburro.com/blog. have fb app id duly updated in header:

<meta property='fb:app_id' content='1789276651307619' /> 

i hope isn't duplicate question since have browsed through related questions thoroughly – not on elsewhere – , couldn't find solution question describes exact same problem.

also, have similar fb comments plugin working fine on (older, phased out) blog @ same site: peppyburro.com/blogs.


Comments

Post a Comment

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -