如何用PHP读取类似facebook的count
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了如何用PHP读取类似facebook的count相关的知识,希望对你有一定的参考价值。
When you add facebook like button to your site, probably, you also want to save the number of likes of your pages to your database.These data are very useful and very important because they tell you which of your articles are better than others. Moreover, these pages are better than others because the user has decided to tell his friends about it.
function readFacebookLikes($url) { $query = "select total_count from link_stat WHERE url ='" . $url ."'"; }
以上是关于如何用PHP读取类似facebook的count的主要内容,如果未能解决你的问题,请参考以下文章