新的Instagram Graph API上的标签搜索媒体在哪里?

问题描述:

在当前的Instagram API上,我们有一个端点来搜索最近的媒体,但该平台将被弃用从2018年7月开始.

On the current Instagram API we have an endpoint to search recent media by tag, but this platform will be deprecated beginning in July 2018.

问题在于 Instagram Graph API参考不包含任何内容端点以按标签搜索媒体.

The problem is that Instagram Graph API reference doesn't include any endpoint to search media by tag.

有人知道如何使用新的Instagram Graph API通过标签搜索媒体吗?

Does anyone know how to search media by tag using the new Instagram Graph API?

几天前刚刚宣布,新的Instagram Graph API:Hashtag Search API现已可用.这是完整API文档的链接: https://developers. facebook.com/docs/instagram-api/hashtag-search .

Just announced a few days ago, the new Instagram Graph API: Hashtag Search API is now available. Here is a link to the documentation for the full API: https://developers.facebook.com/docs/instagram-api/hashtag-search.

您想打的边缘是{hashtag_id}/recent_media( https://developers.facebook.com/docs/instagram-api/reference/hashtag/recent-media )

以前是有一些限制的,但是它是新的替代品.

There are some limitations to what it used to be, but it is the new replacement.

限制

  • 此边缘仅返回公开的照片和视频.
  • 此边缘仅返回在查询执行后24小时内发布的媒体对象.
  • 此边缘最多返回50个媒体对象.
  • 在7天之内,您最多可以查询30个唯一的主题标签.
  • 您不能在返回的媒体对象上请求用户名字段.
  • 答复中将不包含任何个人身份信息.