How to create an 'Add Me' facebook button for website or blog

Paste this code where you have to show the button.

Edit the text shown on the button by changing the value.  Change the value of yourID from URL in the below code and type your facebook id. Example: ( http://www.facebook.com/addfriend.php?id=100004793197423 )


<html>
<style>
.button
{
font-size: +20;
color: white;
border-color:#3b5999;
background-color:#3b5999;
}
</style>
<body>
<input type="button" value="Add me on facebook" onclick="window.open('http://www.facebook.com/addfriend.php?id=yourID')" class="button"/>
</body>
</html>

No comments:

Post a Comment