This is a code writen in php which allows you to generate contents and post automatically on instagram
Requires php min 5.4 with allow_url_fopen actived. Config the cron job in your cpanel or vps to execute the index.php every hour, dont make it more less 1 hour because your account can be deleted. Thanks @lnlance09 for the main api code.