title: Facebook custom audience API. Users are added, but nothing gets matched. Hashing issue maybe?
body: <p>I'm using <a href="https://github.com/facebook/facebook-php-ads-sdk" rel="nofollow noreferrer">https://github.com/facebook/facebook-php-ads-sdk</a> in Laravel PHP to add users to a Facebook Custom Audience. The request goes fine, but after a few days of adding users, nothing gets matched. If I manually add users to that same audience, it's fine, users are matched. So I guess I have an issue with hashing or data format.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>    $hashedPhone = hash(HashNormalizer::HASH_TYPE_SHA256, "+4" . $phone);
      $hashedCountryCode = hash(HashNormalizer::HASH_TYPE_SHA256, "RO");
      $audiences = array([$hashedPhone, $hashedCountryCode]);
  
      //add to Facebook audience
      $schema = array(
          CustomAudienceMultikeySchemaFields::PHONE,
          CustomAudienceMultikeySchemaFields::COUNTRY
      );
      if (count($audiences) &gt; 0) {
          $audience = new CustomAudienceMultiKey($audienceId);
          // always hash before this, the framework hashing doesn't work properly !!!
          $response = $audience-&gt;addUsers($audiences, $schema, true, true);
  
          /*
          print_r($response);
          $audience-&gt;read(array(CustomAudienceFields::APPROXIMATE_COUNT));
          echo "Estimated Size:" . $audience-&gt;{CustomAudienceFields::APPROXIMATE_COUNT} . PHP_EOL;
          */
      }
  </code></pre>
  
  <p>And here is the Custom Audience history (rows are added, but nothing gets matched):
  <a href="https://i.stack.imgur.com/IWlne.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IWlne.png" alt="enter image description here"></a></p>
  
  <p>I'm only trying to match users by phone and country code. I've read the API documentation (<a href="https://developers.facebook.com/docs/marketing-api/audiences-api" rel="nofollow noreferrer">https://developers.facebook.com/docs/marketing-api/audiences-api</a>)... not sure what's wrong or missing.</p>
  
  <p>Is there a way to see what rows were added into the Custom Audience, so I can debug and do data validation / hashing / format?</p>