当我昨天使用facebooks Graph API时,它在评论中得到了“from”字段(API vers.2.10)。
但今天它返回一个空字段。有人可能知道他们是否改变了什么?
当前版本(2.12)也不返回任何内容。
答案 0 :(得分:1)
您现在需要使用页面访问令牌进行此调用,而不是用户访问令牌。更多信息https://developers.facebook.com/docs/graph-api/changelog/version2.11#mapi
/page/* — User information will not be included in GET responses for any objects owned by (on) a Page unless the request is made with a Page access token. This affects all nodes and edges that return data for objects owned by a Page.