Embed Facebook Page Plugin on Wix Site

I read on another thread in here, about how to embed Facebook Chat and members were having success with it. I thought I’d try something similar with the Facebook Page Plugin code. I’m trying to embed my Facebook Pg on my Wix website. Their instructions: https://developers.facebook.com/docs/plugins/page-plugin/ Step

1: Include the JavaScript SDK on your page once, ideally right after the opening body tag.

<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 = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.1';
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

Step 2: Place this code wherever you want the plugin to appear on your page.

<div class="fb-page" data-href="https://www.facebook.com/RealEstateCompsToday/" data-tabs="timeline" data-width="250" data-height="400" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="false"><blockquote cite="https://www.facebook.com/RealEstateCompsToday/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/RealEstateCompsToday/">Realestatecompstoday.com</a></blockquote></div>

I tried doing this by going to Tracking & Analysis, clicking on New Tool and pasting the code from step one above into it. I chose the Body Start option (as per Facebook recommendation). Then I pasted the code from step 2 above into an iframe. Nothing shows up in the iframe.

I also tried using the Wix app callled Facebook Feed. When I entered my FB URL into the settings area, nothing happened, my page did not show up inside the box.

I also tried choosing Embed Site and putting my Facebook URL in those settings. Nothing showed up in the box.

The code above is how I’d like to get my Facebook Feed onto my page. Please give some instructions. Thanks.

2 Likes

FYI, it’s a public business page, not a personal profile.

Hi,

I didn’t add my Facebook page to the site this way, so I can’t help you with your problem, sorry. But I can advise you the method I use. I use this third-party plugin: Facebook Widget - embed Facebook Feed on website (in 2 minutes). Highly recommend you to try it out.

I hope you will get better success with it.

I know this is thread necromancy but stumbled upon it searching for similiar solution and if you are still out there I discovered that it is the FB PAGE ID not the URL that Wix needs - this is found on the About section of the FB page you want to embed and is a string of about 25 numbers.