improvements to Twitter probe

This commit is contained in:
Friendika 2011-09-20 17:56:44 -07:00
parent f681535ccf
commit 38444aedd7

View File

@ -534,6 +534,9 @@ function probe_url($url, $mode = PROBE_NORMAL) {
else else
$poll = $tapi . '?screen_name=' . $tid; $poll = $tapi . '?screen_name=' . $tid;
$profile = 'http://twitter.com/#!/' . $tid; $profile = 'http://twitter.com/#!/' . $tid;
$vcard['photo'] = 'https://api.twitter.com/1/users/profile_image/' . $tid;
$vcard['nick'] = $tid;
$vcar['fn'] = $tid . '@twitter';
} }
if(! x($vcard,'fn')) if(! x($vcard,'fn'))