A GUID identifies a person. In a URI, the GUID identifies the person who is associated with the data of the resource. For example, the following URI refers to the contacts (acquaintances) of the person whose GUID is 6677.
Using the YQL Contacts Table, you specify the user with the GUID value of 6677 with the
guid key as seen in this example:
SELECT * FROM social.contacts WHERE guid='6677'
An application can obtain the GUID of the person who is running the application. To obtain this GUID, an application calls the HTTP GET operation on the following URI:
The YQL Social Tables use the
me variable to store the GUID of the user running the application. For example, this YQL statement returns the contacts for
the signed-in user:
SELECT * FROM social.contacts WHERE guid=me
GUIDs have the following characteristics:
For syntax and other details, see the Introspective GUID section.