我需要那里的一些帮助。在这里,我需要从fancybox iframe http://squaretwo.ru/pashokk 中删除白色边框。
您可以通过单击红色按钮调用fancyBox。我已经阅读了以前的文章,但无法解决问题。有任何想法吗?
我必须做一个非常简单的操作,但我的编程技巧还不够.我必须在Facebook页面中统计喜欢并在我的网站上打印该号码.我有两个脚本可以很好地完成普通网站的工作,但是他们不想显示页面的喜欢数量.
<?php
$source_url = "http://www.facebook.com/"; //This could be anything URL source including stripslashes($_POST['url'])
$url = "http://api.facebook.com/restserver.php?method=links.getStats&urls=".urlencode($source_url);
$likes = $xml->link_stat->like_count;
$comments = $xml->link_stat->comment_count;
$total = $xml->link_stat->total_count;
$max = max($shares,$likes,$comments);
echo $likes;
?>
<?php
$fql = "SELECT url, normalized_url, share_count, like_count, comment_count, ";
$fql .= "total_count, commentsbox_count, comments_fbid, click_count FROM ";
$fql .= "link_stat WHERE url = 'http://www.apple.com/'";
$apifql="https://api.facebook.com/method/fql.query?format=json&query=".urlencode($fql);
$json=file_get_contents($apifql);
print_r( json_decode($json));
?>
Run Code Online (Sandbox Code Playgroud)
这两个脚本都适用于普通的网站,但不能获取fb页面喜欢的数字.可能是我应该以其他格式输入链接?
我可以使用图表http://graph.facebook.com/?ids=AutoSpecCenter获取所需的数据,只需输入这样的页面名称即可.但我不知道如何操纵这些数据.