2
I added a button to my blog Enjoy and share in the basements of posts of my Blog, so that the reader has the option to choose Like or not, only that post. But when clicking Like, I noticed that the button did not share the post, but the blog.
Could someone help me solve this problem? I would like to know how to put a button Enjoy and share that allows the reader to enjoy only that post you’re reading?
The platform used is Blogger. I have some static pages and for these, yes, I would like to see the Like these pages.
I used the code generated from Facebook Developers, in Social Pluggins:
<!-- Insere "curtir" e "compartilhar" do facebook -->
<div id='fb-root'/>
<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/pt_BR/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
Código HTML:
<!-- insere o botão "curtir" e o "compartilhar" do facebook -->
<div class="fb-like" data-href="http://enchendoacaixa.blogspot.com.br/" data-layout="button_count" data-action="like" data-show-faces="true" data-share="true"></div>
From now on, thank you very much!
Is this a Wordpress blog? Blogger? other? If this is a static HTML page, you are creating the button code
curtir
,compartilhar
and pointing out the share links for each post? What is your sharing code structure for social networks?– Chun
I’m using Blogger. The code I’m using is the one available on the Facebook Developers page. I’ll edit my question and put the code for you to see.
– Van Ribeiro