About Me

Monday, April 4, 2011

Twitter API and jQuery Showcase: Display your Followers or Friends

twitterconn
Today I was playing around with the Twitter API and created this little “widget” using jQuery and PHP. I know, there are already plenty of them, but I wanted to improve some details.
Some of the features are:
  • You can get your most recent 100 followers or friends
  • Followers or friends are shown in sets of 25 per widget page
  • The images of the users are preloaded (unlike in Twitter)
  • You can navigate through the set
  • You can refresh the entire set
  • More information on the user can be seen using a tooltip when hovering over his picture
You can configure and use this in your website to show your followers or friends with some interesting information about them (name, number of followers, number of friends).
A reason why 100 followers or friends are loaded in the beginning is the restriction the Twitter API is giving in the number of results per request. So, in order not to make several requests which would take quite some time, I just get 100. However, you can always click the link to the entire list in the end of the pagination.
The tooltip is created using qTip.

0 komentar:

Pengikut

Entri Populer

Popular Posts

Search This Blog

New Story of My Life

New Tutorial

 
Isi Menu 1.1
Isi Menu 1.2
Isi Menu 1.dst
Isi Menu 2.1
si Menu 2.2
Isi Menu 2.dst
Isi Menu 3.1
Isi Menu 3.2
Isi Menu 3.dst
Isi Menu 4.1
Isi Menu 4.2
Isi Menu 4.dst
Copyright© 2011 Tip Blogger And Tutorial | Template Blogger Designer by : Utta' |
Template Name | Uniqx Transparent : Version 1.0 | Zero-Nine.Net