Facebook Like Button For My Site

pmguru

Registered Member
Joined
Feb 21, 2010
Messages
52
Reaction score
2
Yo,

Does anyone know how I can integrate the "Like" Button for a fan page of mine and add it to my website with a Facebook Fan box. This way those who are at my website can see what my fan page is about and then just click "Like" opposed to having to go and visit my fan page.

Does anyone know how this could be done?
 
Here you go man. :)

Code:
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink()); ?>&layout=standard&show-faces=true&width=600&height=40&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:600px; height:40px"></iframe>

Heres the original site I found this code
Code:
http://thesocialmediaguide.com.au/2010/05/02/how-to-add-a-facebook-like-button-to-your-website/
 
I want to know the same thing.. I've seen "Share" facebook buttons but I can't seem to find a "Like" button that automatically makes people like your fanpage..
 
Thank you but I get this error when I click the button..

You may not use Facebook URLs with the Open Graph yet.
 
Oh sweet cheers guys, Tech I got the same problem as millhugz when I added it to my site. Ill check out biks post now see if theres a solution.
 
Hey, I found this Old thread while searching for a query.

What I need to do is find a way to have multiple likes come to one Facebook button on a separate like frame in order to try win a competition.

Most of the services I found are for Facebook likes on Facebook itself, does anyone know how to creates likes for a button on a website.

When I right click the button on the page I can open in new frame and it has a Facebook .com URL.

Thanks
 
Back
Top