Php 获取业务帐户转换前发布的媒体的到达指标时出现异常[无效参数]
这是在商业帐户转换之前发布的媒体的情况。 问题是我在Facebook graph api explorer中得到了正确的响应Php 获取业务帐户转换前发布的媒体的到达指标时出现异常[无效参数],php,facebook-graph-api,facebook-php-sdk,laravel-5.7,Php,Facebook Graph Api,Facebook Php Sdk,Laravel 5.7,这是在商业帐户转换之前发布的媒体的情况。 问题是我在Facebook graph api explorer中得到了正确的响应 "insights": { "data": [ { "values": [ { "value": 8 } ], "id": "xxxxxxxxxxxxxxxxx/insights
"insights": {
"data": [
{
"values": [
{
"value": 8
}
],
"id": "xxxxxxxxxxxxxxxxx/insights/reach/lifetime"
}
]
},
但是当尝试使用api调用时,xxxxxxxxx/media?fields=media\u url、标题、注释\u计数、永久链接、媒体类型,比如计数、时间戳、用户名、缩略图\u url、洞察。metric(reach){values}
开发错误:作业>>FacebookInstagramBackTrackOwned>>异常>>无效参数
我所做的是在catch异常部分,我检查了错误代码,
2108006
和错误用户标题,在业务帐户转换之前发布的媒体
。然后在没有reach参数的情况下进行了调用,以便获取所有其他数据 你能解释一下你是怎么做的吗?
'error_subcode' => 2108006,
'is_transient' => false,
'error_user_title' => 'Media Posted Before Business Account Conversion',
'error_user_msg' => 'The media was posted before the most recent time that the user\'s account was converted to a business account from a personal account.'