From: Zach Prezkuta Date: Thu, 6 Sep 2012 23:31:05 +0000 (-0600) Subject: small twitter improvements X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a089a8947827dd6861d8838195eea9c800a15b92;p=friendica.git small twitter improvements --- diff --git a/.htaccess b/.htaccess index a22c8c37ac..b6b2538e71 100644 --- a/.htaccess +++ b/.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 / diff --git a/include/Scrape.php b/include/Scrape.php index 85c6367889..cd88aceb7c 100644 --- a/include/Scrape.php +++ b/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) {