The Contacts Sync Table supports the SELECT statement to get the contact sync information for a Yahoo! user.
social.contacts.sync
SELECT| Key Name | Data Type | Allowed in Statements | Required in Statements | Default Value | Description |
|---|---|---|---|---|---|
guid
|
string |
SELECT
|
SELECT
|
None | The GUID of the profile owner. |
rev
|
integer |
SELECT
|
None | 0 | The revision number of the contact. The value changes when contact information is updated and allows contact information to be synced on different devices. |
This example statement returns revision 0 of the contact sync information for the signed-in user. The default value for the
key rev is 0. Run the query in the YQL Console.
SELECT * from social.contacts.sync WHERE guid=me
This example statement returns revision 2 of the contact sync information for the signed-in user.
select * from social.contacts.sync where guid=me and rev=2
See the Elements of the Contactsync Object for the Contacts REST API.