Well if you read the link you shared, the accepted answer is:
You cannot post pictures to Instagram via the API.
It seems you can emulate instagram on PC though.
Bluestacks is an emulator which lets you run android apps on your PC/Mac etc.
I'm not sure how well it works though.
A second alternative is to use this. It's the Instagram API, however it's been reversed engineered and explains how to use it (including uploading media).
Again, not sure how well this works.