If a contact has a public Google+ profile and this data appears in your Google Contacts, is it possible to access that data via Google Apps Script? If so, how?
For example, I add a contact with only a full name and an email address. That contact has a public Google+ profile that includes a phone number. Their phone number will show up in my Google Contacts (including a search from Google Contacts) but the following code will not return their phone number:
var contacts = ContactsApp.getContacts();
for (i in contacts) {
phones = contacts[i].getPhones();
for (j in phones) {
Logger.log(phones[j].getPhoneNumber());
}
}
How do I access the Google+ phone number via Google Apps Script?