mirror of
https://github.com/friendica/friendica
synced 2024-11-10 02:22:55 +00:00
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