title: Google Contacts Api -> Which contacts were deleted?
body: <p>I am parsing contacts from Gmail, and creating a sync functionality with my product. 
  But on my script i'm having a hard time determining which contacts get 'deleted' from gmail. </p>
  
  <p>EXAMPLE:
  If I have <strong>John Doe</strong> in my Application, along with Gmail... (and they are synced with the gmailId). Later on down the road, if the user <strong>DELETES the contact John Doe</strong>, and I run my SYNC, <strong><em>how do I determine that the contact was deleted?</em></strong></p>
  
  <p>I need to know where to throw a <em>trigger to delete</em> the same contact within my database. I currently have this to obtain information on each contact sent through. </p>
  
  <pre><code>$xml = simplexml_load_string($entry-&gt;getXML());
  $obj = new stdClass;
  
  //    EDIT LINK
  $obj-&gt;gmailUrl   = rawurlencode($entry-&gt;id);                
  $obj-&gt;delete     =  (string) $xml-&gt;groupMembershipInfo['deleted'];
  
  //    FIRST Name
  $obj-&gt;firstName  = (string) $xml-&gt;name-&gt;givenName;
  </code></pre>
  
  <p>Previous in my code i'm also query google with these extra params.</p>
  
  <pre><code>$query-&gt;setParam('updated-min', $updatedMin);
  $query-&gt;setParam('showdeleted', 'true');
  $query-&gt;setParam('requirealldeleted', 'true');
  </code></pre>
  
  <p>Any help would be appreciated!</p>