Inserting Facebook "LIKE" into VSD

User 742740 Photo


Registered User
3 posts

Greetings,

I'm attempting to put an FB "LIKE" button on my website. The code as furnished by FB is below:

<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>


<div class="fb-like" data-href="https://www.facebook.com/SummersMagic" data-send="true" data-width="450" data-show-faces="true"></div>

The only option I see for doing this is through HTML insert. When I do that I get nuthin' on my page.

I manually edited and inserted the code, the first set at the top below the the container and the class code at the bottom with the same results.

I'm not a coder (otherwise I'd be using the CoffeeCup HTML editor) so any assistance with this would be greatly appreciated.

Thanks,

Henry -

henry@summersmagic.com
Attachments:
ImgMkr3
"Life is what goes on while you're busy making plans"
User 187934 Photo


Senior Advisor
20,271 posts

Most social buttons only show on the live site and not in VSD preview mode. Try publishing your site and check your page live on the net. If it still doesn't show come back here and give a shout.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.