aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-20 17:56:44 -0700
committerFriendika <info@friendika.com>2011-09-20 17:56:44 -0700
commit38444aedd732d65b2df57c9ebce712dfd53fbf4d (patch)
tree5ec5b31b136047fb15a9f12142e26c6c5195fb88
parentf681535ccfd09efa3d1ec1a88fe12583bc3ad225 (diff)
downloadvolse-hubzilla-38444aedd732d65b2df57c9ebce712dfd53fbf4d.tar.gz
volse-hubzilla-38444aedd732d65b2df57c9ebce712dfd53fbf4d.tar.bz2
volse-hubzilla-38444aedd732d65b2df57c9ebce712dfd53fbf4d.zip
improvements to Twitter probe
-rw-r--r--include/Scrape.php3
1 files changed, 3 insertions, 0 deletions
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'))