Reputation: 11121
when using integromat I am using Google Contact ID to make sure that I always work with the correct contact. Now I would like to save all Google Contact IDs. Ideally without using integromat. But I do not know how.
Upvotes: 1
Views: 428
Reputation: 201523
I believe your goal as follows.
http://www.google.com/m8/feeds/contacts/kanshi000001%40gmail.com/base/###
using Google Apps Script.In this case, as a simple method, I think that you can use Contacts Service of Google Apps Script. The sample script is as follows.
When you use this script, please copy and paste the following script to the script editor and run myFunction
. By this, the authorization screen is opened. So please authorize the scopes. (This authorization is only one time while the new scopes are not detected.) By this, the script works and you can see the contact IDs at the log.
function myFunction() {
const ids = ContactsApp.getContacts().map(e => e.getId());
console.log(ids)
}
Upvotes: 2