0
我正在使用WhatsApp Chat-API。 对于注册过程,我遵循 Documentation提供的文档。WhatsApp chat-api注册过程错误
所以注册过程中,我使用下面的代码
$username = "mynumber";
$debug = true;
$r = new Registration($username, $debug);
$r->codeRequest('sms');
现在到这里,我得到验证的味精,但问题是我如何可以使用的代码,手机作为下一行收到的代码为如下
$code = '123456';// this is hard coded in documentation how i can use my verification code which i received on my phone
$r->codeRegister($code);
所以在获取验证码后,我如何使用上面的代码获取登录密码?