使用节点模块在Instagram上发布媒体

使用节点模块在Instagram上发布媒体,instagram,instagram-api,Instagram,Instagram Api,我发现这个模块: 我想知道使用api在instagram上发布是否合法。 因为文档只显示GET方法,而不是post,我不知道这是否合法,但这是您的代码pip install instabot from instabot import Bot name = input("Image name + extensions : ") bot = Bot() bot.login(username = "user_name",

我发现这个模块:

我想知道使用api在instagram上发布是否合法。
因为文档只显示GET方法,而不是post,我不知道这是否合法,但这是您的代码pip install instabot

from instabot import Bot 
  
name = input("Image name + extensions : ")  

bot = Bot() 
bot.login(username = "user_name",  
          password = "user_password")

 
bot.upload_photo(name, 
#Put the photo in the same directory as this code
                 caption ="YOURCAPTION")

没什么,布迪。Instagram刚刚为一些商业公司打开了API。更多信息: