Fetch All Google Contacts - Asp.net web form
- Download and open the project in Visual Studio.
- Before compiling a code, please create an app on Google-Contacts API if you haven't created one.
- To create an app on Google-Contacts API follow the steps on https://developers.google.com/google-apps/contacts/v3/
- Get the Client ID, Client secret Key and pp name from the app you just created.
- Go back to Visual Studio and open web.config file
- Edit the web.config fields with the respective data that is client id, secret key and app name.
- Put the redirect url what you have given on app, it should be page url where you want google to redirect user after authentocation.
See this link for docs on Google gdata: https://code.google.com/archive/p/google-gdata/
I found a few helpful insights here: https://www.faithinmarketing.com/google-gmail-contacts-databases-template-headers/