Instagram api thumbnail_url 给出 5xx 服务器错误
Instagram api thumbnail_url gives 5xx Server Error
thumbnail_url
link 只为幻灯片 post 提供 5xx Server Error
。仅适用于视频和图像 posts.
失败案例:https://www.instagram.com/p/BvEv0AVlgGb
API 通话:
https://api.instagram.com/oembed/?url=https://www.instagram.com/p/BvEv0AVlgGb
回复:
{
"version": "1.0",
"title": "Higher. Further. Faster. Complete your #CaptainMarvel look with these Carol Danvers-approved glasses from @diffeyewear! Shop now at diffeyewear.com #ad",
"author_name": "marvel",
"author_url": "https://www.instagram.com/marvel",
"author_id": 204633036,
"media_id": "2000934416420307355_204633036",
"provider_name": "Instagram",
"provider_url": "https://www.instagram.com",
"type": "rich",
"width": 658,
"height": null,
"html": "<blockquote ......>",
"thumbnail_url": "https://scontent-sin2-2.cdninstagram.com/vp/d49a6c1ebb809f2a678807c6c668dc20/5D4E7C9B/t51.2885-15/e35/s612x612/51757368_424979878262102_7818160988900314568_n.jpg?_nc_ht=scontent-sin2-2.cdninstagram.com",
"thumbnail_width": 612,
"thumbnail_height": 611
}
这张图片 post 工作正常:https://www.instagram.com/p/BvE6t9fA3BE
为什么缩略图 url 仅在图像堆栈中损坏?
跟踪此信息的最佳方法是将 __a=1
参数和值添加到原始 url。这将 return 包含所有必需信息的 GraphQL 响应。
对于上面发布的失败案例:https://www.instagram.com/p/BvEv0AVlgGb, simply change the url to https://www.instagram.com/p/BvEv0AVlgGb?__a=1
thumbnail_url
link 只为幻灯片 post 提供 5xx Server Error
。仅适用于视频和图像 posts.
失败案例:https://www.instagram.com/p/BvEv0AVlgGb
API 通话:
https://api.instagram.com/oembed/?url=https://www.instagram.com/p/BvEv0AVlgGb
回复:
{
"version": "1.0",
"title": "Higher. Further. Faster. Complete your #CaptainMarvel look with these Carol Danvers-approved glasses from @diffeyewear! Shop now at diffeyewear.com #ad",
"author_name": "marvel",
"author_url": "https://www.instagram.com/marvel",
"author_id": 204633036,
"media_id": "2000934416420307355_204633036",
"provider_name": "Instagram",
"provider_url": "https://www.instagram.com",
"type": "rich",
"width": 658,
"height": null,
"html": "<blockquote ......>",
"thumbnail_url": "https://scontent-sin2-2.cdninstagram.com/vp/d49a6c1ebb809f2a678807c6c668dc20/5D4E7C9B/t51.2885-15/e35/s612x612/51757368_424979878262102_7818160988900314568_n.jpg?_nc_ht=scontent-sin2-2.cdninstagram.com",
"thumbnail_width": 612,
"thumbnail_height": 611
}
这张图片 post 工作正常:https://www.instagram.com/p/BvE6t9fA3BE
为什么缩略图 url 仅在图像堆栈中损坏?
跟踪此信息的最佳方法是将 __a=1
参数和值添加到原始 url。这将 return 包含所有必需信息的 GraphQL 响应。
对于上面发布的失败案例:https://www.instagram.com/p/BvEv0AVlgGb, simply change the url to https://www.instagram.com/p/BvEv0AVlgGb?__a=1