-2

我试图使用我想要从我的服务器获得的一些数据使 whatsapp 消息自动生成,因为我正在使用 whtsapi 来实现与 whatsapp 的聊天系统。当我尝试使用 chatAPI 的注册示例时,它给出了此消息。请提前帮助谢谢 :)

<pre>


    Array 
  (
    [cc] => 91
    [in] => 88XXXXXXXXX
    [lg] => hi
    [lc] => IN
    [id] => 镅椒惮�eic"q鹵o}
    [mistyped] => 6
    [network_radio_type] => 1
    [simnum] => 1
    [s] => 
    [copiedrc] => 1
    [hasinrc] => 1
    [rcmatch] => 1
    [pid] => 3391
    [rchash] => cac5d887b8b826ee373ed950f1d7eb8c69f34fa3809c96cf0792cfa18074d4a0
    [anhash] => c98d49656ef76b4ecfb2cbb82d8bee17
    [extexist] => 1
    [extstate] => 1
    [code] => 123456
  )
  stdClass Object
   (
      [login] => 9188XXXXXXXXX
       [status] => fail
      [reason] => old_version
   )
</pre>
4

2 回答 2

2

由于 Whatsapp 的安全系统(端到端加密)发生了变化,chatAPI(据我所知,没有其他 Whatsapp API)不再起作用。

于 2017-07-02T01:18:46.877 回答
0

您需要使用 PHP Protobuf 和 Curve25519 来启用端到端加密,如安装中所述 https://github.com/mgp25/Chat-API

于 2017-07-13T14:20:30.593 回答