【问题标题】:Facebook | Can't get profiles that are mentioned in a facebook profile post脸书 |无法获取 Facebook 个人资料帖子中提到的个人资料
【发布时间】:2015-11-08 09:41:50
【问题描述】:

我有一个需要查询用户个人资料帖子的应用。

对于任何帖子,我都想弄清楚:

  • 提及的人数(个人资料)和
  • 提到的人(个人资料)的名字

假设用户已授予应用查看其个人资料数据的权限。

请看这里:https://developers.facebook.com/docs/graph-api/reference/v2.3/post

根据文档,如果用户提到 2 个配置文件,例如“Friend1”和“Friend2”,那么我应该能够得到包含该字段的响应:

其中包含“Friend1”和“Friend2”的一些个人资料信息。

我遇到的问题是 GET 查询

https://graph.facebook.com/v2.3/10207722160149556_10207755501343065

我得到了回应:

{:created_time "2015-11-08T09:29:54+0000", :message "Friend1 Friend2 testing again sorry just ignore", :id "10207722160149556_10207755501343065"}

我没有得到to 字段或其他信息?

有谁知道我怎样才能取回文档中列出的我应该得到的东西?

任何帮助将不胜感激

如果这有帮助,这些是我当前请求的权限:

["user_photos" "user_friends" "publish_actions"
 "user_posts" "user_likes" "user_relationships"
 "user_about_me" "email" "public_profile"
 "user_tagged_places"]

亲切的问候, 杰森。

【问题讨论】:

    标签: facebook post profile


    【解决方案1】:

    抱歉,没有阅读文档和我正在使用的库,这很糟糕。

    我必须包含一个“字段”查询参数来指定我想要返回的内容。

    之后,通过 curl 调用进行验证,我可以获得所需的信息。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多