diff --git a/bridges/FacebookBridge.php b/bridges/FacebookBridge.php index e44e3caa..1b8111ec 100644 --- a/bridges/FacebookBridge.php +++ b/bridges/FacebookBridge.php @@ -506,8 +506,6 @@ EOD; returnServerError('You must be logged in to view this page. This is not supported by RSS-Bridge.'); } - $html = defaultLinkTo($html, self::URI); - $element = $html ->find('#pagelet_timeline_main_column')[0] ->children(0) @@ -633,6 +631,8 @@ EOD; $uri = substr($uri, 0, strpos($uri, '?')); } + $content = defaultLinkTo($content, self::URI); + //Build and add final item $item['uri'] = htmlspecialchars_decode($uri); $item['content'] = htmlspecialchars_decode($content);