improvements to Twitter probe
This commit is contained in:
parent
f681535ccf
commit
38444aedd7
|
@ -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'))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user