'; //lets loop each item(follower) in the response foreach($response as $friends){ //check to see we are displaying only the qauntity that we want if ( $count == $displayQTY ) { //if we are, brak the loop break; } //profile data variables $thumbnail = $friends['profile_image_url']; $screenurl = $friends['screen_name']; $screenname = $friends['name']; //print out profile photo and link to twitter profile echo ''.$screenname.''; //increment count $count++; } //print out closing div tag echo ""; } function widget_myTwitterFollowers($args) { //make our widget a bit mor compatible with some other themes extract($args); echo $before_widget; echo $before_title;?> My Twitter Followers