group_add_member($uid,'',$contact_id,$g[0]['def_gid']);
}
- require_once("Photo.php");
-
$photos = Photo::importProfilePhoto($contact->profile_image_url,$uid,$contact_id);
q("UPDATE `contact` SET `photo` = '%s',
logger("statusnet_fetch_contact: Updating contact ".$contact->screen_name, LOGGER_DEBUG);
- require_once("Photo.php");
-
$photos = Photo::importProfilePhoto($contact->profile_image_url, $uid, $r[0]['id']);
q("UPDATE `contact` SET `photo` = '%s',
group_add_member($uid,'',$contact_id,$g[0]['def_gid']);
}
- require_once("Photo.php");
-
$photos = Photo::importProfilePhoto($avatar, $uid, $contact_id, true);
if ($photos) {
logger("twitter_fetch_contact: Updating contact ".$contact->screen_name, LOGGER_DEBUG);
- require_once("Photo.php");
-
$photos = Photo::importProfilePhoto($avatar, $uid, $r[0]['id'], true);
if ($photos) {