use Friendica\Model\Item;
use Friendica\Model\Tag;
use Friendica\Model\User;
+use Friendica\Network\HTTPRequest;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Network;
use Friendica\Util\ParseUrl;
$orig_plink = $item["plink"];
- $item["plink"] = Network::finalUrl($item["plink"]);
+ $item["plink"] = DI::httpRequest()->finalUrl($item["plink"]);
$item["parent-uri"] = $item["uri"];