Solved

Comments on webpage

Posted on 2013-05-21
1
210 Views
Last Modified: 2013-06-17
Hi,

I'd like to include the comments from our facebook page on our website page. I tried to do this by going to this page and just changing the url:

https://developers.facebook.com/docs/reference/plugins/comments/

But that doesn't seem to work since nothing comes up on my webpage even though I've added both the javascript and the html tag.

In the image below you can see what comment feed I would to add too the webpage and the address of the facebook page.

Facebook comments
Thanks for help!

Peter
0
Comment
Question by:peternordberg
1 Comment
 
LVL 15

Accepted Solution

by:
Jagadishwor Dulal earned 500 total points
ID: 39184421
Did you add script in your header section like:

<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";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

Open in new window


And for the Comment add the html iframe:

<div class="fb-comments" data-href="http://example.com" data-width="470" data-num-posts="10"></div>

Open in new window

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Dual authentication on Facebook? 3 638
Twitter: Any way to list my retweeter who I do not follow? 6 114
Run-time error - atibtmon.exe 31 109
Number of visit on facebook 2 18
Owning a franchise can be the dream of a lifetime. It provides a chance for economic growth. You can be as successful as you want.  To make your franchise successful, you need to market it successfully. Here are six of the best marketing strategies …
Facebook has became the #1 social media platform. People share many funny videos there, yet you don't know how to download them? Now you can download Videos from Facebook in just 3 simple steps.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question