获取哪些用户分享了一个帖子 [英] Getting which users shared a post

查看:52
本文介绍了获取哪些用户分享了一个帖子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用图谱api时,当我查询用户或页面的供稿时,有一些用户已共享的帖子,并且我可以在一个实体的数据部分内看到有关股份数量的数据:

With the graph api, when I query for the feed of a user or page, there are some posts that have been shared by users, and I can see the data about the number of shares within the data section of one entity:

  "shares": {
    "count": 2
  }, 

在浏览Facebook时,在该帖子上,当我单击表示显示共享"的图标时,弹出的窗口使我可以看到一些共享该帖子的用户,根据评论您只能看到以下内容的共享:公开或来自朋友." 那么,有没有一种方法可以通过图形api从共享中获取用户数据?

When browsing facebook, on that post, when I click on the icon that represents "show shares", something pops up that lets me see some users that shared the post, according to the comment "You can see only shares that are public or from friends." So is there a way to get the user data from the shares with the graph api?

推荐答案

API不提供有关共享帖子/链接的用户的信息.他们可能会在将来添加一些内容,但目前尚不可能.最好的办法是刮取UI以获得此信息,但是您会遇到很多问题,这可能不值得.

The API doesn't provide information about users who have shared a post / link. Its probably something they will add in the future, but it's not possible at the moment. Your best bet for this information is to scrape the UI to get this information, but you will run into lots of issues and it's probably not worth the effort.

Facebook确实提供有关谁对帖子的喜欢和评论的信息(如果有帮助的话).

Facebook does give information on who Likes and Comments on posts however, if its any consolation.

这篇关于获取哪些用户分享了一个帖子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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