Google Contacts Api
Introduction: Google provides facility to save contacts on google by back-end java code. In my last blog we learnt google YouTube Api to upload video from java code Use case: In many applications user want to save contacts on google to provide sync contacts at real time and its also provides support teams facility to call or whats app without save invest more time. In this blog i will explain how we can save contacts using service account with impersonate user. We need to do follow some steps: Need to setup admin for domain Create project in console.developer.google.com Create service account Enable G-suit domain wide deligation Copy client id and enable client id to admin.google account Give required access to domin email id in project IAM roles. Code changes. I am assuming you have domain so can do domain wise delegation. Step 1 : Create domain account https://admin.google.com/ This account will create one admin user we can use that same user t...