I have a scenario in my current application where I want to fetch the Gmail id's of my users. Could anyone tell me the way with piece of code in C#?
Note: I am developing a web-base application in asp.net with C#.
Recover deleted contactsIf you deleted a contact in the last 30 days, you can move it out of your Trash. Tip: Contacts deleted from your “Other contacts” won't show in Trash. You can recover them if you undo all the changes within the past 30 days.
These issues often take place when you try to upload contacts to Google either because of Internet failure, you accidentally deleted them or while using any third-party application to back up your data.
1. Open Google Contacts on your browser and log in with the same Google Account linked to the smartphone from which you deleted a contact accidentally. 2. Tap on the gear icon found on the top right corner and click on 'Undo changes' to start the restoration process.
Use the google contacts api there are C# sample there.
You can use the Google Accounts API.
You can find an example here.
Take a look at the open source .Net library gmailapi.The GmailAgent has a GetContacts method for retrieving all the contacts.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With