Trying to show my Twitter followers count on my website with no luck

Zippo007

New Member
This is the code I am using, but it does return blank in most cases.\[code\]<?php$xml=file_get_contents('http://twitter.com/users/show.xml?screen_name=MyTwitterUsernameBla');if (preg_match('/followers_count>(.*)</',$xml,$match)!=0) {$count = $match[1];}echo $count;?>\[/code\]I want to show Twitter followers count in simple way, no plugins..it's a website, and not a blog.Thank you very much :)
 
Back
Top