/ Published in: PHP

Put this code in your theme, where you want to show followers count. Don't forget to change USERNAME.xml to your twitter user name.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $begin = '<followers_count>'; $end = '</followers_count>'; $page = $twit; $page = $parts[1]; $tcount = $parts[0]; if($tcount == '') { $tcount = '0'; } echo '<b> '.$tcount.' </b> Followers'; ?>
Comments
