Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Facebook Feed in Website


John Goodguy

Recommended Posts

Guys I have a question, and you are my last resort. I am learning how to maintain my website, but it is not working out the way I hoped.

I would like to add a facebook feed

 

These are the two things I have to change according to facebook:

 

I have to put this in front of ?php:

 

 

<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/nl_NL/all.js#xfbml=1";

fjs.parentNode.insertBefore(js, fjs);

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

 

And then place this at the place where you want to add it:

 

<div class="fb-like-box" data-href="http://www.facebook.com/Muziekoordopjes" data-width="206" data-height="500" data-show-faces="true" data-border-color="#0383d2" data-stream="true" data-header="false"></div>

 

Althought everytime I want to do it it doesn't work out, I want to put it in the "column_right.php"

 

And I want to replace specials.php with this newsfeed, but I have no clue how to do it. I tried so many things and you guys are my last resort. Please help, I will attach the specials.php so feel free to put it in you can make it work. If you need anything more please let me know

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...