X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FTwitterBridge%2Ftwitterimport.php;h=3a4c0c43c0f1170e0b42345c81f9a36d5c0f5d69;hb=a10a9c4a90afdb20d9f340708a74c9d0ea5e1e30;hp=143543d8efa8621e3932c9b62074409e614123a5;hpb=e25d4683c8999a215f3f8e91e280ff52b8dd2499;p=quix0rs-gnu-social.git diff --git a/plugins/TwitterBridge/twitterimport.php b/plugins/TwitterBridge/twitterimport.php index 143543d8ef..3a4c0c43c0 100644 --- a/plugins/TwitterBridge/twitterimport.php +++ b/plugins/TwitterBridge/twitterimport.php @@ -207,7 +207,7 @@ class TwitterImport */ function makeStatusURI($username, $id) { - return 'http://twitter.com/' + return 'http://twitter.com/#!/' . $username . '/status/' . $id; @@ -264,7 +264,7 @@ class TwitterImport function ensureProfile($user) { // check to see if there's already a profile for this user - $profileurl = 'http://twitter.com/' . $user->screen_name; + $profileurl = 'http://twitter.com/#!/' . $user->screen_name; $profile = $this->getProfileByUrl($user->screen_name, $profileurl); if (!empty($profile)) { @@ -618,15 +618,15 @@ class TwitterImport static function tagLink($tag) { - return "{$tag}"; + return "{$tag}"; } static function atLink($screenName, $fullName=null) { if (!empty($fullName)) { - return "{$screenName}"; + return "{$screenName}"; } else { - return "{$screenName}"; + return "{$screenName}"; } }