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);
所以在獲取驗證碼後,我如何使用上面的代碼獲取登錄密碼?