<?
function tweeter_sayi($siteadres) {
$apicek = file_get_contents('http://urls.api.twitter.com/1/urls/count.json?url='.$siteadres);
$bol = json_decode($apicek, true);
return isset($bol['count'])?intval($bol['count']):0;
}
echo tweeter_sayi("https://www.r10.net");
?>