Facebook Graph API: “Feed” no longer returns “From” (i.e. Author) Field

后端 未结 1 1524
误落风尘
误落风尘 2020-12-22 09:07

Recently, when using the /feed Facebook Graph API method, it has stopped returning the From field. This field typically contains the Id

相关标签:
1条回答
  • 2020-12-22 09:49

    It is only included if you use a Page Token. v2.11 of the Graph API (90-Day Breaking Changes):

    /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.

    Source: https://developers.facebook.com/docs/graph-api/changelog/version2.11

    ...or in the link of your question:

    Any valid access token can read posts on a public Page, but responses will not include User information.

    A Page access token can read all Posts posted to or posted by that Page, and responses will include User information.

    0 讨论(0)
提交回复
热议问题