You should make sure you have this line in your theme template <br><br>xmlns:fb="<a href="http://www.facebook.com/2008/fbml">http://www.facebook.com/2008/fbml</a>" I have <a href="http://drupal.org/project/fb">http://drupal.org/project/fb</a> enabled (API only) which inserts this, but you can add it to your themes' page.tpl manually.<br>
<br>My like button code is<br><div class="fb-like" data-send="true" data-layout="button_count" data-width="450" data-show-faces="true" data-colorscheme="dark"></div><br>
<br>What you posted is code for a like "box" which includes other stuff like a feed and faces. For that you need to have the Facebook PHP SDK installed see <a href="http://developers.facebook.com/docs/reference/php/">http://developers.facebook.com/docs/reference/php/</a><br>
<br>Neil<br><br><div class="gmail_quote">On Mon, Nov 28, 2011 at 6:22 PM, Alexander Garcia Castro <span dir="ltr"><<a href="mailto:alexgarciac@gmail.com">alexgarciac@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I am running druap 6 .22, this should be simple, and I have done it before but it is just not working this time. I have generated the FB button:<br><br><iframe src="//<a href="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fplatform&width=180&height=258&colorscheme=dark&show_faces=true&border_color&stream=false&header=false" target="_blank">www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fplatform&amp;width=180&amp;height=258&amp;colorscheme=dark&amp;show_faces=true&amp;border_color&amp;stream=false&amp;header=false</a>" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:180px; height:258px;" allowTransparency="true"></iframe><br>
<br>in theory I should just paste the code in a new block. doesn't work, all I get is just code, it does not display the button .what am I doing wrong? how can I just have the I like it button in my drupal? <br clear="all">
<span class="HOEnZb"><font color="#888888">
<br>-- <br>Alexander Garcia<br>Florida State University Guest Professor <br><a href="http://www.alexandergarcia.name/" target="_blank">http://www.alexandergarcia.name/</a><br><a href="http://www.usefilm.com/photographer/75943.html" target="_blank">http://www.usefilm.com/photographer/75943.html</a><br>
<a href="http://www.linkedin.com/in/alexgarciac" target="_blank">http://www.linkedin.com/in/alexgarciac</a><br><br><br>
</font></span><br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br>