Twitter style Follow and Unfollow buttons with jQuery and Ajax

This post will updated exactly Twitter style Follow and Unfollow buttons with jQuery and Ajax with fadeOut and fadeIn effect.
Twitter has been connecting millions of people by its Follow button. Not only Twitter, but almost every social network has got there own Follow buttons (may be, named differently), Even blogs like Mashable has introduced this recently into their website.

jQuery Code
Make sure you have include the latest jquery file in your code before using this code, because if you have not include jquery file, it will not work.

Html & PHP code

Bellow is the simple and easy code of HTML and PHP. Please a twitter-follow.php page and copy bellow code snippets & paste and save your page.

You can download the complete code from bellow link.


Please don’t forget to subscribe our newsletter or join us on Facebook to be the first to learn the next great thing from freewebmentor.

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:

Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

Article Tags: , , , , ,