Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

How to use facebook activity feed.?

Hey there everyone, I am trying to use HTML 5 and the Facebook activity feed widget. I am in a web design class and I am redoing my local firedepartments web page as my final exam because that is how the class is set up. The code I have that I copy/pasted into my page is

<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/pages/Hebron-Volunteer-Fire-Deparment/303732113677";

fjs.parentNode.insertBefore(js, fjs);

}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-activity" href="http://facebook.com/pages/Hebron-Volunteer-Fire-De... data-site="hebronfire.net" data-width="700px" data-height="350px" data-header="true" data-recommendations="false"></div>

I filled in the hrref="" part myself, I have tried all sorts of combinations of urls and moving around the code and none of it will show up. I have tested it in Chrome, Firefox and IE, all in the latest versions, and it shows up in none of them. If you need more of the code I can send you the HTML and CSS file for the page, but I don't see anything in there that I think would ruin the page.

1 Answer

Relevance
Still have questions? Get your answers by asking now.