I am trying to extract all contacts from a specified group, with the goal of firing off an e-mail to each address in the group. I'm starting by displaying a page that lists the authenticated user's groups. When the user clicks on a group, he/she will see a form in which the e-mail content will be typed. Upon submitting the e-mail, each of the contacts in the selected group will be sent the e-mail using PHP's mail function.
I've successfully authenticated a user using AuthSub and am able to produce a list of contacts by querying "http://www.google.com/m8/feeds/ contacts/default/full" with the Zend_Gdata_Query method. However, I am unable to produce a list of the groups associated with the authenticated account. The code I am trying is as follows: $gdata = new Zend_Gdata( $httpClient ); $query = new Zend_Gdata_Query( "http://www.google.com/m8/feeds/groups/ default/full" ); $query->setMaxResults( 100 ); $feed = $gdata->getFeed( $query ); foreach( $feed as $entry ) { $xml= $entry->getXML(); print_r( $xml ); } I don't see any errors. Just a blank page. Nothing is returned. Any ideas as to why it might be failing? Thanks in advance. Greg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Contacts API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-contacts-api?hl=en -~----------~----~----~----~------~----~------~--~---
