在哪里开始寻找需要一些帮助。是否有使用官方API或虚拟化Instagram技巧的解决方法?
答案 0 :(得分:0)
有一些Instagram API端点可以帮助您,例如:
"feed/user/{$userId}/reel_media/"
"feed/reels_tray/"
答案 1 :(得分:0)
我认为在Instagram API端点下方可以为您提供帮助:
"feed/tag/{tag!s}/"
我个人使用的是Instagram Private API,我认为它非常酷。 (https://instagram-private-api.readthedocs.io/en/latest/api.html#instagram_private_api.Client.feed_tag)
username = "XXXXXX"
password = "XXXXXX"
hashtag = "football"
api = Client(username, password)
tag_metadata = api.feed_tag(hashtag, api.generate_uuid())
football_stories = tag_metadata["story"]["items"]
for story in football_stories:
# Do whatever you want with the story.
print story