facebook follow button not showing

plutek / 2014-01-23 19:06:14   

following the directions here:
developers.facebook.com/docs/plugins/…

  1. i added this right after the opening <body> tag in index.php:
  2. <div id="fb-root"></div>
  3. <script>(function(d, s, id) {
  4.   var js, fjs = d.getElementsByTagName(s)[0];
  5.   if (d.getElementById(id)) return;
  6.   js = d.createElement(s); js.id = id;
  7.   js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  8.   fjs.parentNode.insertBefore(js, fjs);
  9. }(document, 'script', 'facebook-jssdk'));</script>
  1. then i put this in my post-nav section of the sidebar:
  2. <div class="fb-follow" data-href="facebook.com/plutek" data-colorscheme="light" data-layout="button" data-show-faces="false"></…;

i don't get any error messages, and the nav bar gets extra space as if something's getting added, but the facebook follow button doesn't show.

any clues?

the site is: peterlutek.com

cheers!
.pltk.

plutek / 2014-01-23 19:14:32   

oops... silly me! of course i can't follow myself, so the "smart" button doesn't show! :)

on a browser which doesn't auto-remember my fb login, the button shows.

sorry for the noise!
.pltk.

This thread has been closed, thank you.