简体   繁体   English

永久链接字段在基本 Instagram API 中不起作用

[英]permalink field not working in the basic Instagram API

When I am triggering the below URL then I got the error message in the response,当我触发以下 URL 时,我在响应中收到错误消息,

https://graph.instagram.com/me/media?fields=id,caption,media_type,media_url,permalink,thumbnail_url,timestamp,username&access_token=[token] https://graph.instagram.com/me/media?fields=id,caption,media_type,media_url,permalink,thumbnail_url,timestamp,username&access_token=[token]

Response : { "error": { "message": "An unexpected error has occurred. Please retry your request later.", "type": "OAuthException", "is_transient": true, "code": 2, "fbtrace_id": "A7NK5iyZc7KWjLRWuhZEGNA" } }响应: { "error": { "message": "发生意外错误。请稍后重试您的请求。", "type": "OAuthException", "is_transient": true, "code": 2, "fbtrace_id" : "A7NK5iyZc7KWjLRWuhZEGNA" } }

But when I remove the permalink field form the URL then I am getting the results.但是当我从 URL 中删除永久链接字段时,我得到了结果。

https://graph.instagram.com/me/media?fields=id,caption,media_type,media_url,thumbnail_url,timestamp,username&access_token=[token] https://graph.instagram.com/me/media?fields=id,caption,media_type,media_url,thumbnail_url,timestamp,username&access_token=[token]

Response: { "data": [ { "id": "17912377570308383", "media_type": "IMAGE", "media_url": "..", "timestamp": "2019-06-28T12:55:01+0000", "username": "testing.demo1" } ... },响应: {“数据”:[{“id”:“17912377570308383”,“media_type”:“IMAGE”,“media_url”:“..”,“时间戳”:“2019-06-28T12:55:01+0000 ", "username": "testing.demo1" } ... },

So think the permalink field is not working due to some issues.因此认为永久链接字段由于某些问题而不起作用。

For your references, first link ( with permalink ) was worked at yesterday.供您参考,昨天使用了第一个链接(带有永久链接)。

Doc Link of the fields : https://developers.facebook.com/docs/instagram-basic-display-api/reference/media#fields字段的文档链接https : //developers.facebook.com/docs/instagram-basic-display-api/reference/media#fields

It is a general problem for all users using Instagram Basic API.这是所有使用 Instagram Basic API 的用户的普遍问题。 We shall wait until it is solved on Facebook end.我们将等到它在Facebook端解决。

Please follow the issue on support thread: https://developers.facebook.com/support/bugs/935079356895648/请关注支持线程上的问题: https : //developers.facebook.com/support/bugs/935079356895648/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM