显示Facebook Graph API喜欢在我的网站计数 [英] Display Facebook Graph API likes count in my site

查看:143
本文介绍了显示Facebook Graph API喜欢在我的网站计数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Facebook Graph API中使用fields = fan_count从我的Facebook页面获取喜欢的数量,但我不知道如何在我的网站上显示计数器。



这是URL:





我想只显示fan_count字段,我该怎么办?

解决方案

你不能, id是主键。


I'm using fields=fan_count in the Facebook Graph API to get the number of likes from my facebook page, but i don't know how to display the counter in my site.

That is the URL:

https://graph.facebook.com/gamersaction/?fields=fan_count&access_token=access_token

The URL is returning the number of likes and the id of my page:

I want to display only the fan_count field, how can i do it?

解决方案

You can't, id is the primary key.

这篇关于显示Facebook Graph API喜欢在我的网站计数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆