Bonjour,
je suis aujourd'hui en plein création d'un site auquel j'aimerais ajouter un bouton like référant à la page facebook du site. J'ai chercher sur internet et j'ai trouver un code iframe qui affiche bien un bouton j'aime mais le problème c'est quand je le paramètre avec mon url, le bouton ne s'affiche pas. S'auriez vous pk? merci
le code exemple qui marche :
<iframe src="http://www.facebook.com/plugins/like.php?href
=<?php
echo urlencode(get_permalink($post->ID)); ?>&layout=standard&show_faces=false&width=450&acti
on=like&colorscheme=light"
scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px"></iframe>
mon code préparer ici https://developers.facebook.com/docs/reference/plugins/like/ :
<iframe src="//www.facebook.com/plugins/like.php?href=http
s%3A%2F%2Fwww.facebook.com%2Fpages%2FAlternative-A
rchitecture%2F436782183033071&send=false&l
ayout=standard&width=450&show_faces=false&
amp;font=lucida+grande&colorscheme=light&a
ction=like&height=35"
scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>