在Instagram上是否有一种官方的方式可以根据标签获取所有用户的照片,而不仅仅是与客户id相关的照片


Is there on Instagram an official way to get photos according to hashtag but from ALL users and not only from the one related to the client id?

我知道根据自己的个人资料中的特定标签从Instagram检索照片非常容易(与连接到库中使用的客户端id),但我找不到任何官方的方法来检索带有标签的照片,由用户独立。

因此,例如,如果我的标签是test,一个API抓取包含照片的PHP对象,如下面的代码 所示
$o_instagram = new Instagram($s_client_id);
$o_media = $o_instagram->searchTags($s_hashtag);

有什么想法或建议吗?

看看下面的端点

https://instagram.com/developer/endpoints/tags/get_tags_media_recent

我不确定它在他们的php库中是什么样子,但在ruby中是沿着Instagram_client.tag_recent_media(:tag)

行的东西

按最近一次的顺序进行分页