Facebook Like Box - Post ID 170979

User 2188618 Photo


Registered User
21 posts

Does anyone know how to add a Facebook like button to the home page. Facebook offers 3 flavors of code: HTML5, XFBML, and IFRAME, but I can't seem to get it to work.

http://yowzers.com/index.php
YOWZERS • T-Shirts • Caps • Mousepads

http://yowzers.com
User 187934 Photo


Senior Advisor
20,271 posts

Did you try this page.:)
http://developers.facebook.com/docs/reference/plugins/like/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 471275 Photo


Ambassador
1,130 posts

I think it has to do because the website is a shopping site you might need to place the code differently then in a website.
I would put in a ticket to support as they should know how to help you on this one.

User 187934 Photo


Senior Advisor
20,271 posts

It was painless on my test shop.
http://progrower.coffeecup.com/shop/
Here's the code I used.
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fprogrower.coffeecup.com/shop/&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;font&amp;colorscheme=light&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 471275 Photo


Ambassador
1,130 posts

Eric good tip :)

User 2188618 Photo


Registered User
21 posts

Eric- I'm a bit confused (but then I am HTML challenged). I checked out your test page and I don't see the facebook "like" button anywhere. I got the same iframe code as you did from facebook, and using the insert html on my home page, I pasted it in to my homepage, but when I preview, I don't see the button. The code from my homepage is below.
[[[<!DOCTYPE html><html lang="en"> <head> <meta charset="utf-8"> <meta name="generator" content="CoffeeCup HTML Editor (www.coffeecup.com)"> <meta name="created" content="Thu, 24 Feb 2011 00:26:12 GMT"> <meta name="description" content=""> <meta name="keywords" content=""> <title></title> <!--[if IE]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body><img src="http://yowzers.com/YowzersHomePage.jpg" width="777" height="438" alt="" title="" border="0" /><img src="http://yowzers.com/Shipping.jpg" width="777" height="72" alt="" title="" border="0" /> </body></html>]]]
[[[<iframe src="//www.facebook.com/plugins/like.php?href&amp;send=false&amp;layout=standard&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>]]]

http://yowzers.com/index.php
YOWZERS • T-Shirts • Caps • Mousepads

http://yowzers.com
User 187934 Photo


Senior Advisor
20,271 posts

You don't see it on this page.
http://progrower.coffeecup.com/shop/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2188618 Photo


Registered User
21 posts

Eric- No, I don't see the facebook thingy on your page. I have attached what I see. . .
Attachments:
YOWZERS • T-Shirts • Caps • Mousepads

http://yowzers.com
User 187934 Photo


Senior Advisor
20,271 posts

That's weird. I see it in IE9, Opera 11, Chrome, and FX 7. What are you using?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2188618 Photo


Registered User
21 posts

Eric- Now this is odd; I tested it in MSIE & Google Chrome, and I see the facebook button, but NOT in Firefox, which is the browser I use most. Go figure?!
YOWZERS • T-Shirts • Caps • Mousepads

http://yowzers.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.