新的Instagram Graph API上的标签搜索媒体在哪里? [英] Where is the search media by tag on new Instagram Graph API?

查看:88
本文介绍了新的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个唯一的主题标签.
  • 您不能在返回的媒体对象上请求用户名字段.
  • 答复中将不包含任何个人身份信息.

这篇关于新的Instagram Graph API上的标签搜索媒体在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆