Tip: Select any Text to Tweet it!

Tech n blogging is in the soul of this blog

Recommended Time Pass!

Posted by Gitesh Tyagi | Sunday, April 18, 2010 | 0 comments

I have already posted on how to add connect with fb and create application on fb to connect with blogger
This time make your visitors your friend on facebook also, this will help in sharing and exploring your blog to those who really cares!

In this tutorial i will provide you two methods with lil bit of difference...

Description of both methods:


  • Method 1--- This method will give you a button as a result, on clicking that button visitor will be asked to log in to his/her facebook account and then final confirming window appear to him/her to confirm you as your friend.

  • Method 2--- This method give you a link as a result, that link will open your public profile of facebook. Now its your visitors wish to login and send you a friend request.


You can use any of the above mentioned methods or both of them on your blog anywhere either at the and of each post or in side widget anywhere you feel comfortable., So here is how to do so---

What's New: Love iphone's Siri, Now you can have Bingo Voice on Windows phone for free as intelligent as siri....

METHOD 1 CODE-


<form target="_blank" action="http://www.facebook.com/addfriend.php"><input name="id" type="hidden" value="100000088018480" /><input type="image" value="Connect with me on Facebook!" src="http://i41.tinypic.com/2mcj5l0.jpg"/></form>



Here is the button in action---



METHOD 2 CODE-


<a href="http://www.facebook.com/profile.php?id=100000088018480" >Add me as Friend on Facebook!</a>



Here is the link in action--

Add me as Friend on Facebook!


Customize--

In these codes the number '100000088018480' is my fb id, replace it with your own fb id. To get your id login to your fb account and goto your photo album, note your id from the link shown below your album....

here is the similar image showing my id.