Kornowski
VIP Member
I'm trying to add a 'Like' button on my website, so that people are able to like and view my Facebook page to stay up to date.
I've used the Facebook Developer's site to generate the code for the button.
The page I'm trying to set it up for is this;
http://www.facebook.com/pages/Daniel-Piercy-Media/194196573930505/
When I generate the code, I'm given two options; either 'iFrame'
or 'XFBML'
I've copy and pasted the code directly into Dreamweaver and neither of them work. Well, they work when I test them locally. So I paste the code in and hit F12 to preview and it works! However, when I upload it to my host and view it online, it doesn't; I don't get it.
Here's the site I want it to appear on;
www.danielpiercy-media.co.uk
Any help is much appreciated
I've used the Facebook Developer's site to generate the code for the button.
The page I'm trying to set it up for is this;
http://www.facebook.com/pages/Daniel-Piercy-Media/194196573930505/
When I generate the code, I'm given two options; either 'iFrame'
Code:
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FDaniel-Piercy-Media%2F194196573930505%2F&layout=standard&show_faces=false&width=450&action=like&colorscheme=dark&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>
or 'XFBML'
Code:
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://www.facebook.com/pages/Daniel-Piercy-Media/194196573930505/" show_faces="false" width="450" colorscheme="dark"></fb:like>
I've copy and pasted the code directly into Dreamweaver and neither of them work. Well, they work when I test them locally. So I paste the code in and hit F12 to preview and it works! However, when I upload it to my host and view it online, it doesn't; I don't get it.
Here's the site I want it to appear on;
www.danielpiercy-media.co.uk
Any help is much appreciated
