Instagram 通过名称 API 查找 Hashtag [英] Instagram find Hashtag by Name API

查看:30
本文介绍了Instagram 通过名称 API 查找 Hashtag的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个 Instagram 主题标签查找器应用程序,我正在寻找一种方法来按名称获取 Instagram 主题标签以及其他类似的主题标签建议及其帖子数.

I'm building an Instagram hashtags finder app and I'm looking for a way to get Instagram hashtags by name along with other similar hashtag suggestions and their post counts.

我了解了 Instagram API 端点:https://api.instagram.com/v1/tags/search?q=snowy&access_token=XXXX

I read about the Instagram API endpoint: https://api.instagram.com/v1/tags/search?q=snowy&access_token=XXXX

但这个旧的 Instagram API 平台已被弃用,在新的 Graph API 上看不到类似的端点.

but this old Instagram API platform is deprecated and cannot see a similar endpoint on the new Graph API.

此外,如果有任何方法可以在不让用户登录 Instagram 的情况下做到这一点,那将是首选.

Also, if there is any way to do this without having the user to login to Instagram that would be preferred.

提前致谢.

推荐答案

不推荐使用 v1 API 中的 Hashtag id 搜索端点 [1],它已移至 Facebook 的 Graph API [2].只要您拥有 Instagram 用户 ID 和该用户的访问令牌,您就可以使用 Facebook Graph Explorer [3] 查询该端点.

Hashtag id search endpoint in v1 API is deprecated [1] and it has moved to Facebook's Graph API [2]. As long as you have an Instagram user id and an access token for that user you can use Facebook Graph Explorer [3] to query that endpoint.

[1] https://www.instagram.com/developer/changelog

[2] https://developers.facebook.com/docs/instagram-api/reference/ig-hashtag-search

[3] https://developers.facebook.com/tools/explorer

这篇关于Instagram 通过名称 API 查找 Hashtag的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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