PHOTO_LINK: Ein eindeutiger numerischer Wert, der den Fotolink für den freigegebenen Kontakt darstellt, z. B. c9012de.
Der Server gibt den Statuscode HTTP 200 OK und das Foto zurück. Wenn ein Kontakt kein Foto hat, hat das Fotolink-Element kein gd:etag-Attribut. Mit dem Element gd:etag können Sie auf eine bestimmte Version eines Fotos verweisen.
So rufen Sie beispielsweise die neueste Version eines Fotos für einen Kontakt mit dem folgenden Element ab:
[null,null,["Zuletzt aktualisiert: 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"]]