【发布时间】:2023-03-08 14:19:01
【问题描述】:
我注意到 Instagram 的 Python 库和 API 有点不同。
文档中的 API 请求:
/tags/tag-name/media/recent
发现于:https://instagram.com/developer/endpoints/tags/
该页面显示 3 个参数:
COUNT:要返回的标记媒体计数。
MIN_TAG_ID:返回此 min_tag_id 之前的媒体。
MAX_TAG_ID:在此 max_tag_id 之后返回媒体。
我的代码:
recent_media, next_ = api.tag_recent_media(50, 10000, "cars")
库文档:https://github.com/Instagram/python-instagram
记录的语法:
api.tag_recent_media(count, max_tag_id, tag_name)
问题:
-
无论我输入多大的
count,它总是返回33。我在限制页面上看不到33:https://instagram.com/developer/limits/ -
不管我用什么
max_tag_id,都没有效果。
【问题讨论】: