facebook like button
Hi,
could you tell me how i put a "like button" for facebook on my page?
I copied this code from facebook in the custom js:
<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/de_DE/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
and that code in a "column" and "code" and tried it with revolution slider but it doesnt apear on my website:
<div class="fb-like" data-href="https://www.facebook.com/groovesteiner" data-width="400" data-layout="button_count" data-action="like" data-show-faces="true" data-share="true"></div>
what did i do wrong?
could you tell me how i put a "like button" for facebook on my page?
I copied this code from facebook in the custom js:
<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/de_DE/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
and that code in a "column" and "code" and tried it with revolution slider but it doesnt apear on my website:
<div class="fb-like" data-href="https://www.facebook.com/groovesteiner" data-width="400" data-layout="button_count" data-action="like" data-show-faces="true" data-share="true"></div>
what did i do wrong?
Comments
what you ask for, requires files customization probably what in reference to Item Support Policy is not allowed. So if you want to modify files and don't know how, you should contact with your web developer.
P.S. We can just tell you that you can not use JS code in Column item. JS can be used inside files or under Theme options > Custom CSS & JS > Custom JS section.
Thanks for understanding!
i just want to add a simple likebutton (generated from facebook) on my page. is that not allowed?
i used the JS code in Theme options > Custom CSS & JS > Custom JS section and the second code should be an html5 code witch i want to put on rev slider..
the tutorials i found recomment to use the iframe code from facebook but facebook just gives me the javasript code which doesnt work..
sorry for that. i will find it out by myself.