Changing Share options for Facebok
-
Hello,
For facebook I would like to follow
Display both the like and share buttons on my website.Here https://developers.facebook.com/docs/plugins/like-button/
You see options. I would like to use
Layout = “button_count”
Show Friends’ Faces = true
Include Share Button = trueThe whole thing would look like:
<div class=”fb-like” data-href=”https://developers.facebook.com/docs/plugins/” data-layout=”button_count” data-action=”like” data-show-faces=”true” data-share=”true”></div>and the include javascript, “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 = “//connect.facebook.net/fr_FR/all.js#xfbml=1&appId=MYAPPID“;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>Ideally there would be an option to input one’s facebook appId but I could live without.
Could you do those changes please?
- The topic ‘Changing Share options for Facebok’ is closed to new replies.