Browse Source

small twitter improvements

pull/458/head
Zach Prezkuta 9 years ago
parent
commit
a089a89478
  1. 2
      .htaccess
  2. 5
      include/Scrape.php

2
.htaccess

@ -21,7 +21,7 @@ Deny from all
# Friendica url: http://some.example.com
# RewriteBase /
# Friendica url: http://some.example.com/friendica
# RewriteBase /firendica/
# RewriteBase /friendica/
#
#RewriteBase /

5
include/Scrape.php

@ -563,9 +563,10 @@ 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['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['fn'] = $tid . '@twitter';
$vcard['fn'] = $tid;
}
if($lastfm) {

Loading…
Cancel
Save