how do i get my facebook like button on my website?
how do i get my facebook like button on my website?
a lot of people gave me some html codes for my iweb site, but none of them works.
how do i get my facebook like button on my website?
a lot of people gave me some html codes for my iweb site, but none of them works.
facebook have a plugin but that does not work on my iWeb site :-( HELP!!!!
The Facebook button code is incompatible with the iWeb Snippet since the URL uses html attributes. You need to convert this before it will work.
A button code looks something like this when converted...
<iframe src="http://www.facebook.com/plugins/likebox.php?href=http://www.facebook.com/pages/y ourname/88301317903&width=292&colorscheme=light&show_fa ces=false&border_color&stream=true&header=false&height=395" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:395px;" allowTransparency="true"></iframe>
You need to replace "yourname" and "your facebook number" in this URL...
search in fb html5 code for:
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
and replace it with:
js.src = "http://connect.facebook.net/en_US/all.js#xfbml=1";
HA HA thank for this, But this means nothing to me. Bit over my head, What your saying , is that I have to take the code given for my domain by face book . And then convert it . By adding the above?
Or just placing the code in place writtin in black. Sory Dyslexic , And confudsed.
Could not post it to be? www.amphibious-photographer.com
the code above where I put my name in . what do I do with that . Put in in the snippet? is that all I need to do.
Understand but where do you find your number?
Its in the URL in the code you get from FaceBook. In the example above, I used "yourname" and a ficticeous number.
If you are having problems, copy your FB iframe code and post it here.
As Cyclosaurus has pointed out, the HTML5 and XFBML codes will work if changed like this...
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "http://connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<fb:comments href="http://www.ezmacwebdesign.com" num_posts="2" width="500"></fb:comments>
I just had a morning finding my number , On E how .com they say go to your FB page in profile . open up you photos and its there in the URL. (NOT) I found it in the url of the ID photos . where you up load a ID photo of your self. , But open a few, when you see a number looking the same after id= . that should be your number I hope.
http://www.facebook.com/pages/GaryBridger/10150306099126883 this is my corrected code .
What do I need to change here?
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
I have updated the instructions here...
http://www.iwebformusicians.com/Search-Engine-Optimization/Inbound-Link.html
Change your code to this...
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "http://connect.facebook.net/en_GB/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
Ok thaks I did that took that code cut and past it in. apply and nothing.
The other exaple code above works But thats a comment code not a like code.
And i guess not the same domain.
Tell me what changes , as all I can see is an http was added. is there any thing els required.?
if its conveniant you can skpe me diveactive. pc to pc call.
That's all that's added to that section of the code. Remeber there are two sections to the code and you have to add both into the snippet.
What's the URL of the page that you want in the Like Button?
Ok Roddy thanks for staying with me on this. The code thats above is the code I get from face book like button that I typed in to get is was MY URL
www.amphibios-photographer.com
And what is the other bit that goes with the code.
Try this...
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "http://connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="www.amphibios-photographer.com" data-send="true" data-width="450" data-show-faces="true"></div>
A1 Thank you so much. Best help ever. All in place . just one small matter .
in the text on the FB button where is says . be the first. Its in black. and My backing is bleck . any way to change the colour ? as I have had a try.
thank you so much.
how do i get my facebook like button on my website?