Browse Source

Merge pull request #1448 from annando/issue1432

Removed the special detection for facebook and app.net
pull/1450/head
fabrixxm 8 years ago
parent
commit
c42d6b133e
  1. 11
      include/Scrape.php

11
include/Scrape.php

@ -364,17 +364,6 @@ function probe_url($url, $mode = PROBE_NORMAL) {
$network = NETWORK_TWITTER;
}
if (strpos($url,'www.facebook.com')) {
$connectornetworks = true;
$network = NETWORK_FACEBOOK;
}
if (strpos($url,'alpha.app.net')) {
$appnet = true;
$network = NETWORK_APPNET;
}
// Twitter is deactivated since twitter closed its old API
//$twitter = ((strpos($url,'twitter.com') !== false) ? true : false);
$lastfm = ((strpos($url,'last.fm/user') !== false) ? true : false);

Loading…
Cancel
Save