Twitter style Follow and Unfollow buttons with jQuery and Ajax

Prem Tiwari - - Freebies, JavaScript

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.

About: Prem Tiwari

Prem Tiwari is the founder of and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.

Tags: , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.