Click here to Skip to main content
15,741,310 members
Please Sign up or sign in to vote.
0.00/5 (No votes)

Please help me get the list of contacts. Actually i went through the documentation of google and i got the below code it is asking me to Add authorization token following instructions from the document i have created new OAuth 2.0 client IDs in google console.

How to add the authorisation token to the below mentioned code.

What I have tried:

This is what i tried to do.

RequestSettings settings = new RequestSettings("YOUR_APPLICATION_NAME");
// Add authorization token.
// ...
ContactsRequest cr = new ContactsRequest(settings);

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900