From 38444aedd732d65b2df57c9ebce712dfd53fbf4d Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 20 Sep 2011 17:56:44 -0700 Subject: [PATCH] improvements to Twitter probe --- include/Scrape.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/Scrape.php b/include/Scrape.php index 0115bf2e7..fd41b7bc6 100644 --- a/include/Scrape.php +++ b/include/Scrape.php @@ -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'))