Yahoo! Contacts Delphi Component is a non-visual component that allows you to work with Yahoo! Contacts using Delphi. The component supports Delphi 7 and higher and works directly using official Yahoo! Contacts API. Official API use guarantees maximum compatibility and fewest possible modifications to future versions.
Features
Create and edit contacts and groups
Grouping of contacts
Editing contact's custom fields
Unicode support for all text fields
Batch storing of changes
HTTPS support
Examples
Connecting to Yahoo! Contacts and showing list of contacts in the listbox
YContacts := TYContacts.Create;
YContacts.ConsumerKey := 'TBPUS0tJnM9Y29uc3VtZXJzZWNyZXQmeD0zNA--';
// Your consumer key
YContacts.ConsumerSecret := 'sdjhfsldkj';
// Your consumer secret key
YContacts.Load;
for I := 0 to YContacts.ContactsCount - 1 do
ListBox1.Items.Add(YContacts.Contacts[I].Title);
YContacts.Free;
Adding a new contact "John" with phone number "+555-55-55" and email address "email@yahoo.com"
With YContacts.NewContact do
begin
FirstName := 'John';
Phone := '+555-55-55';
EMail := 'email@yahoo.com';
End;
YContacts.Store;