Like Button - Facebook question

by GGpaul
4 replies
  • SEO
  • |
Hey all, I want to have that widget on the right side similar to this site

The Social Newspaper

I'm having trouble with it. I go to the FB developers page to set it up. It's given me to codes

<div id="fb-root"></div>
<script type="text/javascript">// <![CDATA[
(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";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
// ]]></script>

and

<div class="fb-like" data-href="http://www.facebook.com/xxxxxxxx" data-send="true" data-width="450" data-show-faces="true"></div>

I'm using DIY - Themes. Where exactly would I put these codes? And is there anything I need to do?

I want to have that cool looking widget on the right side. Thanks all.
#button #facebook #question
  • Profile picture of the author aawebdev
    What is this? Please tell me in detail. thanks in advance.
    {{ DiscussionBoard.errors[6697169].message }}
    • Profile picture of the author GGpaul
      Originally Posted by aawebdev View Post

      What is this? Please tell me in detail. thanks in advance.
      It's a plugin. Look at that social newspaper site and it has that widget on the right side with people's pictures on FB that liked the page. That's what I'm trying to figure out but having a tough time.
      Signature

      RIP Dad Oct 14 1954 - Mar 14 2015.

      {{ DiscussionBoard.errors[6697179].message }}
  • Profile picture of the author GGpaul
    Meh, I figured it out. I just downloaded some plugin on Wordpress lol. Thanks guys.
    Signature

    RIP Dad Oct 14 1954 - Mar 14 2015.

    {{ DiscussionBoard.errors[6697277].message }}
  • Profile picture of the author Yohance j
    I want to get this also. I am a Wordpress site so I will check it put. Thanks.
    {{ DiscussionBoard.errors[6697322].message }}

Trending Topics