aki la funcion (para los friends):
Código PHP:
y la [URL="http://t.co/1wIRR6UJ"]demo[/URL]. Ver original
function twitterCollage($user){ $url[0] = "https://api.twitter.com/1/friends/ids.json?cursor=-1&screen_name=".$user.""; $n_obj = $n_json->{'ids'}; if($n_obj == true){ foreach($n_obj as $img){ echo '<img src="https://api.twitter.com/1/users/profile_image?user_id='.$img.'&size=bigger" height="73" width="73">'; } }else{ echo '<div align="center"><b>El usuario no existe</b></div>'; } }