如何通过Instagram API捕获直接消息? [英] How can I capture Direct Message via Instagram API?

查看:84
本文介绍了如何通过Instagram API捕获直接消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我搜索了api instagram,是否有任何方法可以返回直接消息,却一无所获.您能说出是否有东西吗? Instagram不提供吗?或者我可以通过编程方式进行? 我需要捕获直接消息,可以吗?

I searched the api instagram if there is any method to return the direct messages, and found nothing. Can you tell if there is something, or if it is not possible? Instagram does not offer? Or I can do programmatically? I need capture direct message, is possible?

推荐答案

没有用于直接消息的Instagram API,由于距现在已经快四年了,所以我猜不会有.您可能可以使用 Instagram node.js私有API 库或 Instagram PHP私有API库.

There is no Instagram API for direct messages, and since it's been almost 4 years now, I guess there won't be any. You may be able to use the Instagram node.js Private API library or the Instagram PHP Private API library.

不过,我必须警告您,我确实尝试使用PHP库,并且Instagram不允许发送直接消息,无论我试图使它工作多少黑客.但是也许这只是我...

I have to warn you though, that I did try to use the PHP library and Instagram didn't allow sending of direct messages, no matter how much hacking I tried to make it work. But maybe this was just me...

如果您能够使用node.js,似乎Thread.configureText可用于在node.js库上发送直接消息.

If you are able to use node.js, it seems that Thread.configureText can be used for sending direct messages on the node.js library.

这篇关于如何通过Instagram API捕获直接消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆