DOMAIN: URL untuk domain Anda—misalnya,
example.com.
PHOTO_LINK: Nilai numerik unik yang
mewakili link foto untuk kontak yang dibagikan—misalnya, c9012de.
Server menampilkan kode status HTTP 200 OK dan foto. Jika
kontak tidak memiliki foto, elemen link foto tidak akan memiliki
atribut gd:etag. Elemen gd:etag memungkinkan Anda merujuk ke versi
foto tertentu.
Misalnya, untuk mendapatkan versi terbaru foto untuk kontak dengan elemen berikut:
[null,null,["Terakhir diperbarui pada 2024-11-22 UTC."],[[["Retrieve a contact's photo by sending an HTTP `GET` request to their photo link, replacing `DOMAIN` with your domain and `PHOTO_LINK` with the contact's unique numerical photo link value."],["If a contact lacks a photo, the photo link element won't have a `gd:etag` attribute, which is used to refer to specific photo versions."],["A successful photo retrieval results in an HTTP `200 OK` status code along with the photo itself."]]],["To retrieve a contact's photo, issue an HTTP `GET` request to the contact's photo link using this format: `https://google.com/m8/feeds/photos/media/DOMAIN/PHOTO_LINK`. Replace `DOMAIN` with your domain URL and `PHOTO_LINK` with the contact's unique photo ID. A successful request returns a `200 OK` status code and the photo. The absence of a `gd:etag` attribute in the photo link indicates the contact lacks a photo. The `gd:etag` specifies photo versions.\n"]]