Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<?php
$link = 'https://api.facebook.com/method/fql.query?query=select%20like_count%20from%20link_stat%20where%20url=%22http://twitter.com%22';
$get = file_get_contents($link);
$like1 = explode("<like_count>",$get);
$like2 = explode("</like_count>",$like1[1]);
$like = $like2[0];
echo $like;
?>
Да... Това беше!alex3 каза:За това се ползва http://php.net/manual/en/function.simplexml-load-file.php