我使用这个代码块让我跟随所有的追随者:Twitter的API不返回
$trends_url = "http://api.twitter.com/1/statuses/followers/myname.json";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $trends_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$curlout = curl_exec($ch);
curl_close($ch);
$response = json_decode($curlout, true);
foreach($response as $friends){
echo $friends['name'];
}
的问题是,我不能让整个列表,只有100米的追随者。有什么办法让所有跟随我的人都去?
我相信Twitter的API使用分页。 – PeeHaa 2012-08-10 12:30:51