posts.so如何直接发布到instagram API(How does posts.so post directly to the instagram API)

系统教程 行业动态 更新时间:2024-06-14 16:59:47
posts.so如何直接发布到instagram API(How does posts.so post directly to the instagram API)

https://posts.so/似乎允许用户直接从网上发布到Instagram,而无需先进入instagram api。 他们如何做到这一点? 我没有看到Instagram API中的任何地方都有记录?

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?

最满意答案

官方Instagram API不允许上传照片,因为他们希望鼓励使用应用程序“随时随地”使用。

由于posts.so当然没有使用官方API上传照片,因此有两种方法可以实现:

他们与Instagram建立了合作伙伴关系,这让他们可以访问合作伙伴的一些特殊的Instagram API。 但这个选项极不可能 。

他们使用了非官方的API。 这是Instagram的iOS / Android应用程序用来上传照片的API。 通过使用反编译器或数据包分析器(如Wireshark)可以轻松地进行逆向工程。

这里记录了非官方API。 您正在寻找的具体方法是发布新媒体 。 检查此代码例如:

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

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

更多推荐

本文发布于:2023-04-17 09:17:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/dzcp/30610128db45464e59613a4feebb0800.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:instagram   posts   post   API

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!