获得了WhatsApp消息

获得了WhatsApp消息

本文介绍了获得了WhatsApp消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能建立一个监听者,得到一个消息的 WhatsApp的在Android的?
我的意思是就像你有一个的BroadcastReceiver 收听来电短信机器人......

Is it possible to create a listener to get a message from whatsApp in android?
I mean like you have a broadcastReceiver to listen to incoming SMS in android...

时的任何API是需要的东西,或者是合法的事或我需要得到从的WhatsApp

Is any API is needed for that thing, or is it legal thing to do or I need to get any permission from whatsApp?

推荐答案

WhatsApp的没有公布任何官方的API。

Whatsapp did not publish any official APIs.

有与WhatsApp的沟通这个开源的API,它不是正式的,可能会停止工作,如果WhatsApp的更新自己的协议。

There's this open source API for communicating with whatsapp, it's not official and might stop working if Whatsapp update their protocols.

https://github.com/venomous0x/WhatsAPI

对于使用这种或其他非公务API的合法性,这取决于你同意与WhatsApp的的服务协议。读它,看看他们是否在使用自己的通信协议与客户比他们的其他皱眉头。我的猜测是他们不答应。

Regarding the legality of using this or other non-official API, it depends on the service agreement that you agreed to with Whatsapp. Read it and see if they frown upon using their communication protocols with clients other than theirs. My guess would be they do not allow it.

更新:这GitHub的库似乎已脱机由于法律威胁

UPDATE: This GitHub repository seems to have been taken offline due to legal threats.

这篇关于获得了WhatsApp消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 07:49