Thanks for immediate response. I will post in Contacts forum.
I am also searching for a Gadget API that determines whether the igoogle user is logged in or not (without using OpenSocial API) and get the userID(or Viewer info). I couldn;t find any API under Google Gadgets documentation. Please let me know if there is any such API. Thanks.. On Mon, Jan 23, 2012 at 7:29 PM, Takashi Matsuo ♟ <[email protected]>wrote: > > Hi James, > > You may want to ask this in Contact API forum at: > http://code.google.com/apis/contacts/community/forum.html > > Could you add some more information like: > * which library you're using > * the code snippet which is actually retrieving the `list` object > > It will increase the chance you can get some help there. > > Cheers, > > On Mon, Jan 23, 2012 at 3:57 PM, James Rock <[email protected]>wrote: > >> Hi, >> >> I am trying to retrieve google contacts(should include all contact >> addresses from contact lists, MyContacts, Other Contacts etc) from >> google gadget. >> >> Here is my code snippet: >> >> for(var i = 0; i < list.length; i++) { >> entry = list[i]; >> var divElement = document.createElement('div'); >> divElement.setAttribute('class', 'name'); >> var valueNode = document.createTextNode(entry.gd >> $postalAddress[0].$t); >> divElement.appendChild(nameNode); >> divElement.appendChild(valueNode); >> >> document.getElementById("main").appendChild(divElement); >> } >> >> The above code snippet only returns address from Contact List but not >> for MyContacts or Other Contacts. I Please suggest me how to retrieve >> these information. >> >> Also, I am not able to retrieve the city, state, postal code from the >> postalAddress object. I have gone through several documentation even >> using 3.0 Contacts API and failed in getting formatted/parsed data. >> Please advice. >> >> Thanks in advance!!!! >> >> -- >> You received this message because you are subscribed to the Google Groups >> "iGoogle Developer Forum" 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-Gadgets-API?hl=en. >> >> > > > -- > Takashi Matsuo | Developer Advocate | [email protected] | 03-6384-9224 > > -- > You received this message because you are subscribed to the Google Groups > "iGoogle Developer Forum" 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-Gadgets-API?hl=en. > -- You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" 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-Gadgets-API?hl=en.
