title: WhatsAPI (WhatsAPP) - Exception Error
body: <p>I'm looking at this code: <a href="https://github.com/venomous0x/WhatsAPI" rel="nofollow">https://github.com/venomous0x/WhatsAPI</a></p>
  
  <p>On the page: <strong>/src/php/EXAMPLES.php</strong></p>
  
  <p>I've made the following changes (which I think is all I need to amend. I have obviously used different IMEI number and Mobile numbers for this example):</p>
  
  <pre><code>        $userPhone        = '447799999999';      # Telephone number including the country code without '+' or '00'.
          $userIdentity     = '98B898B898B8';      # This is tipically the IMEI number.
                                                   # If you are using an iOS device you should input your WLAN MAC address.
          $userName         = 'John Doe';          # This is the username displayed by WhatsApp clients.
  
          $destinationPhone = '447788888888';      # Destination telephone number including the country code without '+' or '00'.
                                                   # For groups: [phone number]-[group id].
          $debug = TRUE;
          $w-&gt;requestCode('sms', 'GB', 'en');
          $w-&gt;registerCode('123456');
  </code></pre>
  
  <p>but when navigating to this example.php page on my server I receive the following error:</p>
  
  <blockquote>
    <p>Fatal error: Uncaught exception 'Exception' with message 'There was a
    problem trying to request the code.' in
    /whatsapp/src/php/whatsprot.class.php:1174
    Stack trace: #0
    /whatsapp/src/php/EXAMPLES.php(49):
    WhatsProt->requestCode('sms', 'GB', 'en') #1 {main} thrown in
    /whatsapp/src/php/whatsprot.class.php on
    line 1174</p>
  </blockquote>
  
  <p>I just want to know where I'm going wrong, can anyone shed some light? Thanks</p>