improvements to Twitter probe
This commit is contained in:
parent
f681535ccf
commit
38444aedd7
1 changed files with 3 additions and 0 deletions
|
@ -534,6 +534,9 @@ function probe_url($url, $mode = PROBE_NORMAL) {
|
|||
else
|
||||
$poll = $tapi . '?screen_name=' . $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'))
|
||||
|
|
Loading…
Reference in a new issue