无法使用 Graph Api 获取页面的电子邮件
Can't get page's email using Graph Api
我正在使用资源管理器测试此请求“::page_id::?fields=id,name,emails
”,但它 returns 显示此错误消息:
{
"error": {
"message": "(#100) Tried accessing nonexisting field (emails) on node type (PlaceInformation)",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "Hzq4cKMXlI1"
}
}
我已经尝试使用 contact_email 和 user_support_email,但它也没有用。
获取页面电子邮件的正确字段是什么?
仔细查看错误消息,上面写着 node type (PlaceInformation)
。我假设您正在尝试使用一个地方,而不是一个页面。这些是可用于地点的字段:https://developers.facebook.com/docs/graph-api/reference/place/
我正在使用资源管理器测试此请求“::page_id::?fields=id,name,emails
”,但它 returns 显示此错误消息:
{
"error": {
"message": "(#100) Tried accessing nonexisting field (emails) on node type (PlaceInformation)",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "Hzq4cKMXlI1"
}
}
我已经尝试使用 contact_email 和 user_support_email,但它也没有用。
获取页面电子邮件的正确字段是什么?
仔细查看错误消息,上面写着 node type (PlaceInformation)
。我假设您正在尝试使用一个地方,而不是一个页面。这些是可用于地点的字段:https://developers.facebook.com/docs/graph-api/reference/place/