SitePoint Sponsor

User Tag List

Results 1 to 12 of 12
  1. #1
    SitePoint Enthusiast bernadette's Avatar
    Join Date
    Aug 2007
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How can I add facebook comments to my own website posts?

    There are many ways and tutorials for wordpress and blogger but I just want to ad it to plain html
    Thanks
    Bernadette

  2. #2
    SitePoint Wizard silver trophy
    Join Date
    Aug 2003
    Location
    Southern California
    Posts
    4,686
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by bernadette View Post
    There are many ways and tutorials for wordpress and blogger but I just want to ad it to plain html
    Thanks
    Bernadette
    Facebook comments are generally accessed through their JavaScript API unless you want to do something specific like pull out a defined comment to show back?

    Can you elaborate on your goal more?
    - Ted S

  3. #3
    SitePoint Enthusiast bernadette's Avatar
    Join Date
    Aug 2007
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I need to know how does it work to have facebook comments on my website,
    Should I have a page on facebook and link it to my website somehow?
    I dont know a lot about JavaScript API.
    All I want to do is make users comment on my posts through facebook

    Bernadette

  4. #4
    SitePoint Wizard silver trophy
    Join Date
    Aug 2003
    Location
    Southern California
    Posts
    4,686
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by bernadette View Post
    I need to know how does it work to have facebook comments on my website,
    Should I have a page on facebook and link it to my website somehow?
    I dont know a lot about JavaScript API.
    All I want to do is make users comment on my posts through facebook

    Bernadette
    The best way to let people comment on Wordpress via Facebook is with one of the plugins that simply adds the necessary code to your blog.

    http://wordpress.org/extend/plugins/...for-wordpress/

    The alternative is a tool called Disqus which handles multiple systems like Facebook, Twitter, Google, etc. It's also a plugin for wordpress/
    - Ted S

  5. #5
    SitePoint Member
    Join Date
    Feb 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can get a facebook like feed and add it to your website which will show your facebook page information as well as the latest comments from your fans.

  6. #6
    Word Painter silver trophy Shyflower's Avatar
    Join Date
    Oct 2003
    Location
    Winona, MN USA
    Posts
    10,053
    Mentioned
    142 Post(s)
    Tagged
    2 Thread(s)
    Quote Originally Posted by SeanJones View Post
    So finally you have your site up and running, but now where are all the visitors? Perhaps you thought, or were led to believe, that all you had to do was 'build it and they will come'. While this sometimes can be the case, more often than not it will take a lot of effort to generate decent levels of traffic. If you find yourself in this situation and asking "How can I get more traffic to my site?", then it may be time to start thinking outside of the box.
    I don't believe the question here was about getting more traffic. The question is how to add Facebook comments to a website. Many high-traffic websites do this so adding Facebook comments doesn't mean that a website has no traffic. Adding Facebook comments is just a way to make your website more interactive, which is exactly what we discuss in this forum.
    Linda Jenkinson
    "Say what you mean. Mean what you say. But don't say it mean." ~Unknown

  7. #7
    SitePoint Member
    Join Date
    Feb 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb

    You can simply add a gadget (in blogger or wordpress) just under the post body. all you have to do is grad the facebook comment plugin code from the "https://developers.facebook.com/docs/plugins/" section. following is the sample plugin code (which you need to insert in the gadget):

    Code:
    <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=YOUR APP_ID";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    Code:
    <div class="fb-comments" data-href="DONT ENTER ANYTHING HERE (REMOVE THE COMPLETE BOLD TEXT)" data-num-posts="2" data-width="470"></div>
    HOPE IT WORKS!
    Last edited by Shyflower; Mar 10, 2012 at 08:32. Reason: changed tags from quote to code

  8. #8
    SitePoint Member
    Join Date
    Jan 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by bernadette View Post
    There are many ways and tutorials for wordpress and blogger but I just want to ad it to plain html
    Thanks
    Bernadette
    hey buddy you just take a look at this ref link http://developers.facebook.com/docs/...gins/comments/ where you`ll get the instruction to all the facebook commenting option to your website....

    make sure you read the document fully to make use of the commenting section fully from the social gaint

  9. #9
    Non-Member
    Join Date
    Feb 2012
    Location
    USA
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can just use simplest way to comment on your facebook page by using simple coding of facebook like button.

  10. #10
    Word Painter silver trophy Shyflower's Avatar
    Join Date
    Oct 2003
    Location
    Winona, MN USA
    Posts
    10,053
    Mentioned
    142 Post(s)
    Tagged
    2 Thread(s)
    Quote Originally Posted by sandrajustin View Post
    You can just use simplest way to comment on your facebook page by using simple coding of facebook like button.
    Like buttons don't add comments. They only add "likes".
    Linda Jenkinson
    "Say what you mean. Mean what you say. But don't say it mean." ~Unknown

  11. #11
    Non-Member
    Join Date
    Feb 2012
    Location
    USA
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by sandrajustin View Post
    You can just use simplest way to comment on your facebook page by using simple coding of facebook like button.

  12. #12
    Word Painter silver trophy Shyflower's Avatar
    Join Date
    Oct 2003
    Location
    Winona, MN USA
    Posts
    10,053
    Mentioned
    142 Post(s)
    Tagged
    2 Thread(s)
    I have removed two posts that mentioned blogger and WP tutorials. Before anyone else starts posting blogger and WP tutorials, please read the original thread post. The OP has distinctly said they know about blogger and WP and want to know how to add comments in their own html.
    Linda Jenkinson
    "Say what you mean. Mean what you say. But don't say it mean." ~Unknown


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •