如何使用图形 API 获取共享计数 [英] How to get share counts using graph API

查看:18
本文介绍了如何使用图形 API 获取共享计数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用 PHP SDK 和已弃用的 rest API 获取 URL 的共享计数,但没有找到使用图形 API 获取 URL 共享计数的方法.

I can get the share count of an URL using PHP SDK and using the deprecated rest API, but didn't find a way to get the share counts of an URL using graph API.

有什么办法可以查到吗?

Is there any way to find out?

推荐答案

以下是获取统计信息的 API 链接列表:

Here's a list of API links to get your stats:

脸书:https://api.facebook.com/method/links.getStats?urls=%%URL%%&format=json
Reddit:http://buttons.reddit.com/button_info.json?url=%%URL%%
领英:http://www.linkedin.com/countserv/count/share?url=%%URL%%&format=json
Digg:http://widgets.digg.com/buttons/count?url=%%URL%%
好吃:http://feeds.delicious.com/v2/json/urlinfo/data?url=%%URL%%
偶然发现:http://www.stumbleupon.com/services/1.01/badge.getinfo?url=%%URL%%
兴趣:http://widgets.pinterest.com/v1/urls/count.json?source=6&url=%%URL%%

删除了 Twitter 端点,因为该端点已被弃用.

Removed the Twitter endpoint, since that one has been deprecated.

Facebook REST API 已弃用

Facebook REST API is deprecated

这篇关于如何使用图形 API 获取共享计数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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