creating a Facebook Like Button using...

User 1974115 Photo


Registered User
6 posts

I created this website some time ago, and have a Facebook (button) link to the Aerostation Limited Facebook page on the index.html page: <p><a href="http://www.facebook.com/pages/Aerostation-Limited-Inc/195589617170110"><img src="Images/facebooklogo.jpg" alt="Aerostation Limited on Facebook" width-"40" height="40" border="0" /><br />.

This link works fine, but I want to also have a Facebook Like Button.

The Like Button - Facebook Developers page, provided the following IFRAME code for the like button:
<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FAerostation-Limited-Inc%2F195589617170110&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>

When this code is inserted into the HTML Editor, and go to Split Screen to see if it worked; I get a "This Program Cannot Display the Webpage" error.

If I select the XFBML code option on the Facebook Developers page,the following code is provided, along with a JavaScript SDK code
<fb:like href="http://www.facebook.com/pages/Aerostation-Limited-Inc/195589617170110" send="false" width="450" show_faces="false"></fb:like>

When these codes are inserted in the HTML Editor, and Split Screen it chosen (to see if it works), the Facebook Like Button does not appear.

Is CoffeeCup HTML Editor not compatible with the Facebook Like Button codes, or, what am I doing wrong?
User 187934 Photo


Senior Advisor
20,190 posts

Try this.:)
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FAerostation-Limited-Inc%2F195589617170110&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>
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 2652551 Photo


Registered User
1 post

The reason why I like using HTML editor is it's simplicity however, I am having the same difficulty as David with the Like on Facebook code in HTML editor

When I paste https://www.facebook.com/pages/Morgan-J … 7794491248 over "Your URL" it doesn't even appear on in the local preview window

What am I doing wrong?
User 187934 Photo


Senior Advisor
20,190 posts

Does this work?:)
<iframe src="http://www.facebook.com/plugins/like.php?href=https://www.facebook.com/pages/Morgan-Jones-Company-Accountants/155267794491248&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>
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

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.