2012-04-09 67 views

回答

1

在這裏你去:

<?php 

$url = "http://api.twitter.com/1/users/show.json?screen_name=jjmpsp&include_entities=true"; 

$feed = file_get_contents($url); 

$twitter_decoded = json_decode($feed); 

echo $twitter_decoded->followers_count; 

?>