Facebook Widget

EzGenerator V4 forum

Return to “Ezgenerator v4 Customer Forum”

[You can only see part of this thread as you are not logged in to the forums]
Rusty21
Wed Jan 16, 2013 10:18 pm

x

Facebook Widget

Hi, I used the Facebook widget in EZG4, all it shows is a blue box with Facebook in it. I tried to get the API ID but it says I need a credit card. I then got the code manually but when I insert the Java script:-

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


Then the second HTML:-

<div class="fb-like" data-href="http://www.aspatriaautowash.co.uk" data-send="false" data-width="450" data-show-faces="false"></div>


It just doesn't work, that is when I preview the page it locks IE and I have to undo everything. According to Facebook instructions the Javascript must be put at the top of the page to the right of the opening "Body" tag but where do I find that? I went into the Template HTML and entered it there but it causes the same problem. So I tried inserting them by right clicking - insert - html/scripts, yet it I have the same problem. However I'm now stuck with the Blue Facebook on my page which fortunately doesn't show on my website, how do I remove it?

Any help would be very welcome.

Atanas Angelov
Site Admin
Thu Jan 17, 2013 9:49 am

x

Re: Facebook Widget

Hi, You can put something after the <body&g...

Rusty21
Thu Jan 17, 2013 11:47 am

x

Re: Facebook Widget

Hi thanks for the reply, I have entered the Fac...

Atanas Angelov
Site Admin
Thu Jan 17, 2013 11:52 am

x

Re: Facebook Widget

Hi, I don't see such <div id="fb-root">&...

Rusty21
Thu Jan 17, 2013 2:24 pm

x

Re: Facebook Widget

Hi, When I use the FB widget within EZG 4 it pu...

Rusty21
Thu Jan 17, 2013 5:43 pm

x

Re: Facebook Widget

Hi, the FB IP is: <div class="...

Rusty21
Thu Jan 17, 2013 6:42 pm

x

Re: Facebook Widget

Thanks for all your help, I've finally done it...


Return to “Ezgenerator v4 Customer Forum”