mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:40:15 +00:00
small twitter improvements
This commit is contained in:
parent
41439804f4
commit
a089a89478
2 changed files with 4 additions and 3 deletions
|
@ -21,7 +21,7 @@ Deny from all
|
||||||
# Friendica url: http://some.example.com
|
# Friendica url: http://some.example.com
|
||||||
# RewriteBase /
|
# RewriteBase /
|
||||||
# Friendica url: http://some.example.com/friendica
|
# Friendica url: http://some.example.com/friendica
|
||||||
# RewriteBase /firendica/
|
# RewriteBase /friendica/
|
||||||
#
|
#
|
||||||
#RewriteBase /
|
#RewriteBase /
|
||||||
|
|
||||||
|
|
|
@ -563,9 +563,10 @@ 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['photo'] = 'https://api.twitter.com/1/users/profile_image/' . $tid;
|
||||||
|
$vcard['photo'] = 'https://api.twitter.com/1/users/profile_image?screen_name=' . $tid . '&size=bigger';
|
||||||
$vcard['nick'] = $tid;
|
$vcard['nick'] = $tid;
|
||||||
$vcard['fn'] = $tid . '@twitter';
|
$vcard['fn'] = $tid;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($lastfm) {
|
if($lastfm) {
|
||||||
|
|
Loading…
Reference in a new issue