Facebook-like Twitter Follower Box

File Size: 4.88 KB
Views Total: 2253
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Facebook-like Twitter Follower Box

Today we're going to create a Facebook-like Twitter Follower Box using jQuery. Facebook Like box is very popular, however, by default Twitter doesn't provide such plugin. But this can be done using this plugin.

How to use it:

1. Add the following code inside head tag

<link href="css/followbox.css" rel="stylesheet" type="text/css"></link>
<script src="jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="jquery.followbox.min.js" type="text/javascript"></script>

2. Call the function

$('#container1').followbox({     'user' : 'your twitter username here' }); 

3. Options

user : Twitter user name width : Widget width in pixels height : Widget height in pixels theme : Values can be 'light', 'dark' or 'custom'. Customization can be done only in 'custom' mode border_color : Widget border color bg_color : Widget background color bg_image : Widget background image url. It will override background color title_color : Widget main title color total_count_color : Color of line showing follower count follower_name_color : Color of followers' names

This awesome jQuery plugin is developed by unknown. For more Advanced Usages, please check the demo page or visit the official website.