So the issue with Instagram is that they don't really allow to easily create posts using the API. It's really hidden in the documentation. Also, you need to get access from Instagram to start using the API. It's not like creating a token and implementing the API.
Note that this also only works for business accounts: https://developers.facebook.com/docs/instagram-api/guides/content-publishing