Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/252.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在GraphSDK(PHP)中获得FB页面的类似计数?_Php_Facebook Graph Api - Fatal编程技术网

如何在GraphSDK(PHP)中获得FB页面的类似计数?

如何在GraphSDK(PHP)中获得FB页面的类似计数?,php,facebook-graph-api,Php,Facebook Graph Api,我最近一直在使用Facebook的graph API,我想创建一个脚本,让我输入页面id,然后返回指定页面的类似计数 我已经负责获取访问令牌和登录,但在参考中找不到任何与页面的总like计数有关的内容。这将是API调用: https://graph.facebook.com/bladauhu?fields=fan_count&access_token=xxx 如果页面不受年龄或位置限制,则可以使用任何令牌。如果受到限制,则需要能够查看页面的用户的用户或页面令牌 更多信息:

我最近一直在使用Facebook的graph API,我想创建一个脚本,让我输入
页面id
,然后返回指定页面的类似计数


我已经负责获取访问令牌和登录,但在参考中找不到任何与页面的总like计数有关的内容。

这将是API调用:

https://graph.facebook.com/bladauhu?fields=fan_count&access_token=xxx
如果页面不受年龄或位置限制,则可以使用任何令牌。如果受到限制,则需要能够查看页面的用户的用户或页面令牌

更多信息: