From: friendica Date: Sun, 4 Dec 2011 21:51:38 +0000 (-0800) Subject: fb: don't show obnoxious long links X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e5f3e1f540e75324bc23ba8511417e57c1ada7b3;p=friendica-addons.git fb: don't show obnoxious long links --- diff --git a/facebook.tgz b/facebook.tgz index 2eeb5f4f..174a2890 100644 Binary files a/facebook.tgz and b/facebook.tgz differ diff --git a/facebook/facebook.php b/facebook/facebook.php index 268f79b1..db3382fc 100644 --- a/facebook/facebook.php +++ b/facebook/facebook.php @@ -931,7 +931,7 @@ function fb_consume_stream($uid,$j,$wall = false) { if($entry->picture) $datarray['body'] .= "\n\n" . '[img]' . $entry->picture . '[/img]'; if($entry->link) - $datarray['body'] .= "\n" . linkify($entry->link); + $datarray['body'] .= "\n" . '[url=' . $entry->link . ']' . t('link') . '[/url]'; if($entry->name) $datarray['body'] .= "\n" . $entry->name; if($entry->caption)