我从 google 联系人 API 收到以下响应:
SimpleXMLElement Object
(
[@attributes] => Array
(
[rel] => http://schemas.google.com/contacts/2008/rel#edit-photo
[type] => image/*
[href] => https://www.google.com/m8/feeds/photos/media/username%40domain.com/3f800ef08589236/I_BQwBZUKwmNsRvSkFXR-A
)
)
SimpleXMLElement Object
(
[@attributes] => Array
(
[rel] => http://schemas.google.com/contacts/2008/rel#photo
[type] => image/*
[href] => https://www.google.com/m8/feeds/photos/media/username%40domain.com/3f800ef08589236
)
)
SimpleXMLElement Object
(
[@attributes] => Array
(
[rel] => self
[type] => application/atom+xml
[href] => https://www.google.com/m8/feeds/contacts/username%40domain.com/full/3f800ef08589236
)
)
SimpleXMLElement Object
(
[@attributes] => Array
(
[rel] => edit
[type] => application/atom+xml
[href] => https://www.google.com/m8/feeds/contacts/username%40domain.com/full/3f800ef08589236/1396967693060001
)
)
但是我无法使用此数据获取图像,谁能告诉我如何使用此数据获取联系人图像?