Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
please I have a problem in this code message error (
HTML
Execution of requst failed https://www.google.com/m8/feeds/contacts/default/full.

the code is here under button
C#
RequestSettings logininfo = new RequestSettings("",textBox1 .Text ,textBox2 .Text);
logininfo.AutoPaging = true;
ContactsRequest crequest=new ContactsRequest(logininfo) ;
Feed<contact> feedcontacts = crequest.GetContacts();
foreach (Contact gmailAddresses in feedcontacts.Entries)
{
   Console.WriteLine("\t" + gmailAddresses.Title);
   listBox1.Items.Add(gmailAddresses.Title);
   foreach (EMail emailId in gmailAddresses.Emails) 
   {
      Console.WriteLine("\t" + emailId.Address);
      listBox1.Items.Add(" " + emailId.Address);
   }
}
Posted
Updated 16-Dec-11 9:12am
v2

1 solution

 
Share this answer
 

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