Facebook Graph API没有返回(发件人)字段以进行评论? [英] Facebook Graph API is not returning (From) field for a comment?
问题描述
我有一个问题,最近我看到Facebook图形API没有返回(来自)注释字段.例如:- https://graph.facebook.com/v2.6/ {post_id}/comments?fields = from%2Ccan_like& access_token = {access_token}或
I have a question that recently I am seeing that Facebook graph API is not returning (from) field for a comment. Ex:- https://graph.facebook.com/v2.6/{post_id}/comments?fields=from%2Ccan_like&access_token={access_token} OR,
如果要通过图形API资源管理器进行调试,则:{post_id}/comments?fields = from,can_like
If you are debugging through graph API explorer then: {post_id}/comments?fields=from,can_like
在Facebook方面,我找不到任何有关任何更改的文档.如果我做错了事,请告诉我.
I do not find any documentation on any change from the Facebook side. Please do let me know if I am doing something wrong.
谢谢.
推荐答案
https://developers.facebook.com/docs/graph-api/changelog/version2.11#gapi-90
/page/*-页面所拥有的任何对象的用户信息都不会包含在GET响应中,除非使用页面访问令牌进行请求.这会影响为Page拥有的对象返回数据的所有节点和边缘.
/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.
这篇关于Facebook Graph API没有返回(发件人)字段以进行评论?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!