当我将标题字段悬停在 Graph API Explorer 上时,会出现此消息:“字段为空或访问令牌不允许”
这是错误还是其他原因?此错误出现在 2024 年 1 月 5 日之后。在 2024 年 1 月 5 日之前,我能够读取标题字段。
这是访问权限:
business_management, instagram_basic, pages_show_list, instagram_manage_insights, pages_read_engagement
请求网址:
[ID]/stories?fields=id,comments_count,like_count,media_product_type,media_type,media_url,timestamp,caption
回复:
{
"data": [
{
"id": "...",
"comments_count": 0,
"like_count": 0,
"media_product_type": "STORY",
"media_type": "VIDEO",
"timestamp": "2024-01-16T16:35:15+0000"
},
{
"id": "...",
"comments_count": 0,
"like_count": 0,
"media_product_type": "STORY",
"media_type": "IMAGE",
"media_url": "https://scontent.cdninstagram.com/v/...",
"timestamp": "2024-01-16T11:42:38+0000"
},
{
"id": "...",
"comments_count": 0,
"like_count": 0,
"media_product_type": "STORY",
"media_type": "IMAGE",
"media_url": "https://scontent.cdninstagram.com/v/t51...",
"timestamp": "2024-01-16T11:41:07+0000"
},
{
"id": "...",
"comments_count": 0,
"like_count": 0,
"media_product_type": "STORY",
"media_type": "VIDEO",
"media_url": "https://scontent.cdninstagram.com/o1/...",
"timestamp": "2024-01-16T10:44:49+0000"
}
],
"paging": {
"cursors": {
"before": "...",
"after": "..."
}
}
}
我从 2022 年开始使用 Instagram Graph API。自 2024 年 1 月 5 日以来,一些用户媒体数据的故事没有“标题”字段。我尝试更改系统上的 API 使用情况,但无法解决。
不幸的是,这也发生在我身上,去年工作过,但在你提到的时间(大约一个月前)它停止工作了。我得到了除标题字段之外的所有字段。 对我来说,虽然这并不适用于所有帐户,只是其中一些帐户,没有明显的原因。
你找到解决方法了吗?