Send feedback
Get a photo for a shared contact
Stay organized with collections
Save and categorize content based on your preferences.
To get a photo for a contact, send an HTTP GET
request to the
photo link of the contact:
GET https://google.com/m8/feeds/photos/media/DOMAIN /PHOTO_LINK
Replace the following:
DOMAIN
: The URL for your domain—for example,
example.com.
PHOTO_LINK
: A unique numerical value that
represents the photo link for the shared contact—for example, c9012de.
The server returns an HTTP 200 OK
status code and the photo. If a
contact doesn't have a photo, then the photo link element doesn't have a
gd:etag
attribute. The gd:etag
element lets you refer to a specific
version of a photo.
For example, to get the latest version of a photo for a contact with the
following element:
<link rel="http://schemas.google.com/contacts/2008/rel#photo" type="image/*"
href="https://google.com/m8/feeds/photos/media/example.com/c9012de"/>
Send the following HTTP request:
GET https://google.com/m8/feeds/photos/media/example.com/c9012de
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-21 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-08-21 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-21 UTC."]]