2

https://posts.so/ seems to allow users to post directly to instagram from the web without going to the instagram api first. How do they do this? I don't see that documented anywhere in the Instagram API?

1 Answer 1

5
+400

The official Instagram API does not allow uploading photos, since they want to encourage "life on the go" usage of the app.

Since posts.so are certainly not using the official API to upload photos, there are 2 ways they could do it:

  • They made a partnership with Instagram, which gave them access to some special Instagram API for partners. This option is highly unlikely, though.

  • They used the unofficial API. This is the API that the Instagram's iOS/Android apps use to upload photos. It can be easily reverse-engineered by using a decompiler or a packet analyzer such as Wireshark.

The unofficial API has been documented here. The specific method that you're looking for is post new media. Check this code for example:

https://code.google.com/p/twitubas/source/browse/common/instagram.php

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.