尝试访问节点类型(用户)上的不存在的字段(fql)

Tried accessing nonexisting field (fql) on node type (User)

自周三以来 FQL 请求失败。我不知道为什么 FQL 应该只在四月底被弃用。

基本上,这是周三之前有效的请求类型:

 https://graph.facebook.com/89240001803405/fql?access_token=<access_code>&q=select+is_published%2C+talking_about_count%2C+access_token%2C+description%2C+emails%2C+fan_count%2C+general_info%2C+location%2C+page_url%2C+pic_square%2C+username%2C+page_id%2Cname+from+page+WHERE+page_id+IN+%28SELECT+page_id+FROM+page_admin+where+uid+%3D+89240001803405%29

这是当前的回复:

{
  "error": {
  "message": "(#100) Tried accessing nonexisting field (fql) on node type (User)",
  "type": "OAuthException",
  "code": 100
  }
}

知道在迁移非 FQL 之前如何解决这个问题吗?

谢谢

据我所知,您在 fql 部分之前的用户 ID 是错误的。如果这以前有效,那么我猜是偶然的。

通过 API 端点的 FQL 调用应采用 https://graph.facebook.com/fql?q=… 形式 – 标识符 fql 作为第一个路径段,后跟参数 q 用于查询、访问令牌以及其他可能合适的内容。

首先指定用户 ID 没有意义,因为您想要 select 您在查询本身中定义的数据。