From a089a8947827dd6861d8838195eea9c800a15b92 Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Thu, 6 Sep 2012 17:31:05 -0600 Subject: [PATCH] small twitter improvements --- .htaccess | 2 +- include/Scrape.php | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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) { -- 2.39.5