]> git.mxchange.org Git - friendica.git/commitdiff
small twitter improvements
authorZach Prezkuta <fermion@gmx.com>
Thu, 6 Sep 2012 23:31:05 +0000 (17:31 -0600)
committerZach Prezkuta <fermion@gmx.com>
Thu, 6 Sep 2012 23:31:05 +0000 (17:31 -0600)
.htaccess
include/Scrape.php

index a22c8c37acb6c48bba45979bc26affb84581e75d..b6b2538e713b7df861d9bdaec7353d5b82e0daa0 100644 (file)
--- 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 /
 
index 85c636788910e94f3f3295a3f7b32e939b04acf3..cd88aceb7cfb691bb30445fcf0f50f74c3587dc2 100644 (file)
@@ -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) {