facebook-graph-api - 无法使用 Graph Api 获取页面的电子邮件
问题描述
我正在使用资源管理器测试此请求“ ::page_id::?fields=id,name,emails
”,但它返回此错误消息:
{
"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)
。我假设您正在尝试使用地方,而不是页面。这些是 Places 可用的字段:https ://developers.facebook.com/docs/graph-api/reference/place/
推荐阅读
- css - 堆叠在小型设备上的 Flexbox
- node.js - 调用 API 时是否有任何方法可以修复 NewConnectionError?
- java - AssertionError - 虚数和实数加法器
- perl - 使用 Putty 进行 SSH 忽略 Perl 中的所有警告
- amazon-sagemaker - 在不使用 Liquid Library 的情况下获取标签作业中的任务输入值
- c# - 如何修复akka.net中的演员路径
- excel - 如果单元格值在数组内,则返回 true,否则返回 false
- ios - twaillio 调用后所需条件为 false:format.sampleRate == hwFormat.sampleRate'
- jqgrid - 如何实现jqgrid多选工具栏
- ios - 如何在使用多个 UIPopoverPresentationController allowedArrowDirections 时将首选项设置为一个箭头方向?