新 Instagram Graph API 上按标签搜索媒体在哪里?
Where is the search media by tag on new Instagram Graph API?
在当前的 Instagram API 我们有一个 endpoint to search recent media by tag, but this platform will be deprecated beginning in July 2018。
问题是 Instagram Graph API reference 不包含任何端点以按标签搜索媒体。
有谁知道如何使用新的 Instagram Graph 按标签搜索媒体 API?
对于有限的标签搜索,您可以使用 public 网络 api:
https://www.instagram.com/explore/tags/{tagName}/?__a=1
例如:https://www.instagram.com/explore/tags/apple/?__a=1
这只是针对最近的媒体 - 我猜,这 API 并不能保证所有媒体。
然而,这不是正式的 api 电话。不需要令牌或身份验证,因此 Instagram 可以更改此 API,恕不另行通知。
不幸的是,这是我从 Facebook Developer Community 收到的答案:
Public media hashtag search is currently not supported by the Graph API
截至今天,照片标签和@提及企业帐户是使用新 API 的唯一方式。
在今年(2018 年)的 F8 上,他们提到 "Hashtag Read" 端点将在今年年底可用,并且它将主要建模为 "following of hashtags",因为用户目前可以在平台。 10:50 在此视频中点:https://developers.facebook.com/videos/f8-2018/the-instagram-graph-api---whats-in-it-for-you/?hc_location=ufi
几天前刚刚宣布,新的 Instagram 图 API:标签搜索 API 现已可用。这是完整 API 文档的 link:https://developers.facebook.com/docs/instagram-api/hashtag-search。
您要击中的边缘是 {hashtag_id}/recent_media
(https://developers.facebook.com/docs/instagram-api/reference/hashtag/recent-media)
它过去有一些限制,但它是新的替代品。
限制
- 只有这条边 returns public 照片和视频。
- 此边缘仅 returns 个在查询执行后 24 小时内发布的媒体对象。
- 这条边returns最多50个媒体对象。
- 您在 7 天内最多可以查询 30 个唯一主题标签。
- 您不能在返回的媒体对象上请求用户名字段。
- 回复将不包含任何个人身份信息。
在当前的 Instagram API 我们有一个 endpoint to search recent media by tag, but this platform will be deprecated beginning in July 2018。
问题是 Instagram Graph API reference 不包含任何端点以按标签搜索媒体。
有谁知道如何使用新的 Instagram Graph 按标签搜索媒体 API?
对于有限的标签搜索,您可以使用 public 网络 api:
https://www.instagram.com/explore/tags/{tagName}/?__a=1 例如:https://www.instagram.com/explore/tags/apple/?__a=1
这只是针对最近的媒体 - 我猜,这 API 并不能保证所有媒体。
然而,这不是正式的 api 电话。不需要令牌或身份验证,因此 Instagram 可以更改此 API,恕不另行通知。
不幸的是,这是我从 Facebook Developer Community 收到的答案:
Public media hashtag search is currently not supported by the Graph API
截至今天,照片标签和@提及企业帐户是使用新 API 的唯一方式。
在今年(2018 年)的 F8 上,他们提到 "Hashtag Read" 端点将在今年年底可用,并且它将主要建模为 "following of hashtags",因为用户目前可以在平台。 10:50 在此视频中点:https://developers.facebook.com/videos/f8-2018/the-instagram-graph-api---whats-in-it-for-you/?hc_location=ufi
几天前刚刚宣布,新的 Instagram 图 API:标签搜索 API 现已可用。这是完整 API 文档的 link:https://developers.facebook.com/docs/instagram-api/hashtag-search。
您要击中的边缘是 {hashtag_id}/recent_media
(https://developers.facebook.com/docs/instagram-api/reference/hashtag/recent-media)
它过去有一些限制,但它是新的替代品。
限制
- 只有这条边 returns public 照片和视频。
- 此边缘仅 returns 个在查询执行后 24 小时内发布的媒体对象。
- 这条边returns最多50个媒体对象。
- 您在 7 天内最多可以查询 30 个唯一主题标签。
- 您不能在返回的媒体对象上请求用户名字段。
- 回复将不包含任何个人身份信息。