在 facebook 上分享的人名单 [英] List of people who shared on facebook
问题描述
我已经搜索了一段时间的文档,但似乎无法找到实现此目的的方法.这些信息是公开可用的(在 Facebook 页面上......链接上写着查看所有 # 个共享"),但我似乎无法通过 FQL 或图形 API 找到访问此信息的方法.
I've been scouring the docs for a while now and can't seem to find a way to accomplish this. The information is available publicly (on a facebook page ... the link says "View all # shares") but I can't seem to find a way to access this info either via FQL or the graph API.
我知道我可以获得给定帖子的喜欢列表:
I know I can get a list of likes for a given post:
https://graph.facebook.com/87236249496_134765166623967/likes
目标是获取共享人员的列表 -- 但似乎与共享不同.我错过了什么吗?
The goal is to get a list of people who've shared -- but there doesn't seem to be the same sort of thing for shares. Am I missing something?
推荐答案
转到... http://www.facebook.com/ajax/shares/view/?target_fbid=10154612868272801&__a=1代码>
10154612868272801
是 Facebook 的故事 ID,__a
代表异步.
10154612868272801
is Facebook story ID, __a
stands for asynchronous.
你会看到大量的文本/JSON,基本上都是HTML &JS 用于小弹出窗口.有像 hovercard.php?id=#
这样的文本部分,其中 #
是 Facebook 用户 ID,使用 preg_match_all
然后你可以得到所有用户分享该帖子的 ID.
You will see large amount of text/JSON, it is basically HTML & JS for little popup window. There is portion of text like hovercard.php?id=#
where #
is Facebook user ID, using preg_match_all
you then get all of the user ID's who shared that post.
例如:100000541151971
(Eric) 和 9204448
(Courtney)...
Eg: 100000541151971
(Eric) and 9204448
(Courtney)...
不幸的是,您必须先登录 Facebook 才能执行第一步,弄清楚:)
Unfortunately, you must be logged into Facebook to do first step, figure it out :)
这篇关于在 facebook 上分享的人名单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!