dönen ben whatsAPI uygulamak çalışıyorum ama her zaman alamadım. Bu whatsapp API isteği kodu bu hata <br/> "kod</em> istemek için çalışırken bir sorun oluştu <em>" yürütme değil, bir istek kodunu
$userPhone = '8801770648732';
$userIdentity = '352264050503669';
$userName = 'shishir';
$destinationPhone = '8801713206053';
$debug = TRUE;
$whatsapp = new WhatsProt($userPhone, $userIdentity, $userName, $debug);
ve için
bir requestCode$service_type = "sms";
$country_code = "BD";
$language_code = "en";
$request_code = $whatsapp->requestCode($service_type, $country_code, $language_code);
talep eden sınıf başlatılırken için mektuplarım
####start of error notice#####
[12-Mar-2013 22:44:59] PHP Notice: Undefined property: stdClass::$reason in /Applications/MAMP/htdocs/whatsapp/test/whatsprot.class.php on line 1268
[12-Mar-2013 22:44:59] PHP Fatal error: Uncaught exception 'Exception' with message 'There was a problem trying to request the code.' in /Applications/MAMP/htdocs/whatsapp/test/whatsprot.class.php:1269
Stack trace:
#0 /Applications/MAMP/htdocs/whatsapp/test/test.php(36): WhatsProt->checkCredentials()
#1 {main}
thrown in /Applications/MAMP/htdocs/whatsapp/test/whatsprot.class.php on line 1269
####end of error notice#####
: Burada
tam benim konsolda gösteriyor hatadır Her defasında bu hatayla $whatsapp->requestCode
'da sıkışmış.
Neyi yanlış yaptığımı bilmiyorum.
Bu konuda bana yardımcı olan var mı?
Bu soruya cevaben de ihtiyacım var –