use Friendica\Model\User;
use Friendica\Protocol\Activity;
use Friendica\Util\DateTimeFormat;
-use Friendica\Util\Network;
use Friendica\Util\Strings;
function statusnet_install()
Logger::log("statusnet_convertmsg: expanding url " . $match[1], Logger::DEBUG);
- $expanded_url = Network::finalUrl($match[1]);
+ $expanded_url = HTTPRequest::finalUrl($match[1]);
Logger::log("statusnet_convertmsg: fetching data for " . $expanded_url, Logger::DEBUG);
use Friendica\Util\ConfigFileLoader;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Images;
-use Friendica\Util\Network;
use Friendica\Util\Strings;
require_once __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php';
$expanded_url = $url->expanded_url;
- $final_url = Network::finalUrl($url->expanded_url);
+ $final_url = HTTPRequest::finalUrl($url->expanded_url);
$oembed_data = OEmbed::fetchURL($final_url);